Hi guys
Im trying to implement a code which uses the atomicCAS and atomicExch function, but the compiler gives me an error in that lines.
it says,
error: identifier “atomicExch” is undefined
error: identifier “atomicCAS” is undefined
In the cuda programming guide says that I can use this functions if my device has compute capability > 1.1
“Atomic functions are only available for devices of compute capability 1.1 and above”.
I have a Tesla C1060, with compute capability 1.3
I have tried to compile with the option nvcc -arch=sm_11 and 13, but I get the same error.
So, why can not I use this functions into my code?
Thanks in advance