Is Target code really running on GPU

Hi all ,
Pls guide me , how can I be sure , that my target code is really running on targated GPU , not on host.
thanks in advace …

sam :(

Well one thing you can do is post the code, if that is what you mean. If you are not sure if you use good function type qualifiers. And another thing is to make sure you don’t use -deviceemu.

That is a start.

CUDA will never run your code on the CPU, there won’t even be a CPU version of the kernels in your program (unless you enable -deviceemu when compiling – but that removes all dependency on CUDA libs in the first place)