Look at sample nVidia projects available in SDK they might help you.
Amd generally to run in emulation mode you should compile all your “.cu”-files in project in similar way:
D:\CUDA\bin\nvcc.exe -ccbin “D:\Program Files\Microsoft Visual Studio 8\VC\bin” -deviceemu -c -DWIN32 -D_CONSOLE -D_MBCS -Xcompiler /EHsc,/W3,/nologo,/Wp64,/Zi, -I"D:\CUDA\include" -I./ -I"D:\CUDA\SDK"/common/inc -o CUDADebug\CUDABenchmark.obj CUDABenchmark.cu
BTW, I need help from more qualified CUDA users than me. Am I able to run emulation of two devices?