I want to use the -deviceemu option to make the nvcc help me for deduging. But it shows “nvcc warning : option ‘device-emulation’ has been deprecated and is ignored”.
And need I add -D DEVICE_EMULATION in nvcc compile command?
The version of CUDA is 4.0 (NVIDIA GPU Computing SDK 4.0).
Thanks very much!