Install cuda in Windows 7

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.