How can i set up CUDA, to use in device emulation mode on a windows based box with no CUDA capable device.
I tried installing CUDA toolkit but it came out saying that no CUDA driver, which i can;t install since i have no CUDA capable device.
I needed this setup CUDA to (atleast debug) on my notebook, any help/suggestions for is greatly appreciated.
thanks in advance.
You need these main steps to run CUDA using emulation mode on windows:
Install CUDA toolkit
Install CUDA SDK
Install Visual Studio 2005 Express or Full edition( I didn’t try Visual Studio 2008 )
Add cuda/bin in the path env variable
make sure you have these environment variables based on your installation directories
CUDA_BIN_PATH: i.e. C:\CUDA\bin
CUDA_COMMON_INC_PATH: i.e. C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc
CUDA_COMMON_LIB_PATH: i.e. C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\lib
CUDA_INC_PATH: i.e. C:\CUDA\include
CUDA_LIB_PATH: i.e. C:\CUDA\lib
NVSDKCUDA_ROOT: i.e. C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK
Install CUDA_VS2005 plugin to Integrate CUDA with Visual C++
Enable Syntax Highlighting for CUDA in Visual Studio
The other thing, when you try to run your code make sure you are using Emudebug if you do the integration using CUDA_VS2005 plugin.
I hope that helps!