Reputation: 594
I'm trying to compile a CUDA kernel but nvcc
returns me these errors:
error: identifier "__shfl_xor" is undefined
error: identifier "__any" is undefined
Clearly some header some argument for the compiler is missing... can you help me? I'm running the CUDA toolkit 5.0 on Ubuntu 13.04
Upvotes: 0
Views: 1247
Reputation: 594
I solved this issue adding -arch=sm_30
to the command line
Upvotes: 3