Error: atomicadd and atomicmin not defined...

I am running CUDA 2.3 on XP… its running fine until I am using Atomicadd( ) and atomicmin( ). It is giving error as undefined symbol “atomicadd” and “atomicmin”. how to overcome that error? I am using GTX 280 of computability 1.3.

You should set the GPU architecture in the compiler options. By default it will be sm_10, change it to -arch sm_11 to compile atomic function.