dalel487/su2hmc

CUDA Linkage

Closed this issue · 2 comments

CUDA Code passes the compilation phase just fine, but does not link.
In particular, it is the C modules that seem to have trouble linking.

Reopening it to close it correctly...

Compiling/linking issues are gone. A few minor details caused all the grief

  1. The wrappers needed to be put inside of extern "C"
  2. Some wrappers were missing the cu in front of them, so were wrong
  3. dimGrid and dimBlock work if they're declared extern and defined globally.

Code still does not run. But linking is progress!!!

I'm rather bad at github. Previous comment applies, but a pull request would make it actually work