I’m really desperate, I’ve been trying this for two days…
I just can’t find the emudebug and emurelease configurations in MS VS 2008. For the moment I don’t have a GPU and I’m trying to test some the code in emulation mode.
Here are the steps I followed:
- Installed MS VS 2008
- Installed cuda toolkit v 3.1
- Installed cuda sdk 3.1
- I set up the custom build rule with emulation option
Then I ran some of the sample projects from the sdk but in the “Configuration Manager -> Active solution configuration” I can only find the options debug and release (which by the way work perfectly), there are no emurelease or emudebug options.
Here’s what they say in the Readme file of the SDK:
“4. Build the 32-bit and/or 64-bit, release, debug, emurelease, and/or emudebug configurations using myproject.sln or myproject_vc90.sln.
5. Run myproject.exe from the release, debug, emurelease, or emudebug directories located in “NVIDIA GPU Computing SDK\C\bin\win[32|64][release|debug|emurelease|emudebug]”.”
I can generate the .exe files only for the release and debug versions.
Here’s the command line at compilation:
“C:\CUDA\bin\nvcc.exe” -m32 -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin” -deviceemu -D_DEVICEEMU -D_DEBUG -D_WIN32 -I"C:\CUDA\include" -I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc" -Xcompiler “/EHsc /W3 /nologo /Od /Zi /MT " -maxrregcount=32 -gencode=arch=compute_10,code=“sm_10,compute_10” -gencode=arch=compute_20,code=“sm_20,compute_20” --compile -o “Debug\template.cu.obj” “c:\CUDA\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\myproject\template.cu””
Clearly the device emulation mode is active…
What can I do?
Please help me. Thanks.