Does nvcc not support device emulation model (-deviceemu) anymore?

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!

Device emulation was removed with the 3.1 release.

Then is there other similar method like device emulation model (-deviceemu), or does this kind of debug technology was removed directly?