Filippo Bistaffa
Filippo Bistaffa

Reputation: 594

Error compiling CUDA kernel

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

Answers (1)

Filippo Bistaffa
Filippo Bistaffa

Reputation: 594

I solved this issue adding -arch=sm_30 to the command line

Upvotes: 3

Related Questions