Manual for Setting up CUDA Emulation on Windows Zhengjie Lu
[email protected]
1. Open the Visual Studio project which has been setup following “Manual for CUDA Development on Windows”. Please make sure that you have finished it. 2. Right click the project (e.g. “myTest”) in the “Solution Explorer” window, and select “Properties”.
3. Click the “Configuration Manager” button in the pop up window named “myTest Property Pages”.
4. Select the item “
” in the catalogue of “Active solution configuration“.
5. Fill in the “Name” item with “EmuDebug”, and then select “Debug” in “Copy setting from”. Click “OK” when they have been done.
6. Now you can see that “EmuDebug” is under the “Configuration ” and just click “Close”.
7. Click “General” in “CUDA Build Rule v2.20” and select “Yes(-deviceemu –D_DEVICEEMU)” in the item “Emulation Mode”. Click “OK” when you finish them. Now you can use the emulation mode for CUDA programming on Windows.