In the appendix of Programming Guide, there are many functions, such as Atomic functions, runtime API reference and High-level API,etc. but where can we find the definition of those functions? for example, when I use AtomicAdd in a program, but the compiler said this function is not defined, same to the texture management functions. can any one knows the answer?
Device functions are declared in “device_functions.h”, which is included from “cuda_runtime.h”, so you probably need to include cuda_runtime.h in your .cu files.
the function AtomicAdd is defined in sm_11_atomic_functions.h, but when I include it in my file, the compiler also say that the atomicAdd is undefined. why this error accur?
Then, how to add the option to the command line? in the attribute option of .cu file? and how do I get the information about whether my graphics card support Atomics? my card is Quadro FX 5600.