Cuda Installation
Cuda is installed in Windows 7,
1. First, download and install the relevant driver, toolki, and SDK from the cuda official website (these three software packages can be downloaded directly on the official website as prompted );
2. After the preceding three environment variables are installed, three environment variables, CUDA_INC_PATH, CUDA_LIB_PATH, and CUDA_BIN_PATH, are automatically set. These three environment variables can be added to the path;
3. Use CUDA_VS_Wizard to download and install CUDA_VS_Wizard in (http://sourceforge.net/projects/cudavswizard.
4. After installation, in order to develop the cuda program under VS, set the environment variable CUDA_DLL (this environment variable can be set at Will). The values are as follows:
1. $ CUDA_INSTALL_PATH_ROOT \ SDK \ C \ win64/32 \ Debug;
2. $ CUDA_INSTALL_PATH_ROOT \ SDK \ C \ win64/32 \ EmuDebug;
3. $ CUDA_INSTALL_PATH_ROOT \ SDK \ C \ win64/32 \ EmuRelease;
4. $ CUDA_INSTALL_PATH_ROOT \ SDK \ C \ win64/32 \ Release
Finally, add CUDA_DLL to the path variable.
If your system is 64bit, you will encounter "Err Source: Create Custom Project" when creating a new Project in VS, but cannot Create a Project successfully, you only need to find visual studio2008 in the control panel of the system> program and function>, select Delete \ change to enter the maintenance mode of, select the x64 compiler under Visual C ++ and click Update. After the update, restart VS to create a new project.
Good luck.
Author: chinahhucai