FXIhub / libspimage

Other
6 stars 3 forks source link

Compilation with Compute Capability below default succeeds but program crashes miserably #8

Closed mhantke closed 9 years ago

mhantke commented 9 years ago

Throws following error in tests or when starting phasing with CUDA support:

CUDA error: "Invalid Device function" at phasing.cu:90

Fix: Set CUDA_NVCC_FLAGS in advanced cmake compilation options to -arch=sm_11 (or the computing capability version that the card supports).

It would be nicer if that was done automatically.

Problematic is also that low computing capability won't be supported for much longer by Thrust and CUDA...

FilipeMaia commented 9 years ago

Commit c7e87814 causes the program to always crash with the above error.