
上QQ阅读APP看书,第一时间看更新
Windows
This section covers the steps to install CUDA on Windows, which are as follows:
- Double-click on the installer. It will ask you to select the folder where temporary installation files will be extracted. Select the folder of your choice. It is recommended to keep this as the default.
- Then, the installer will check for system compatibility. If your system is compatible, you can follow the on screen prompt to install CUDA. You can choose between an express installation (default) and a custom installation. A custom installation allows you to choose which features of CUDA to install. It is recommended to select the express default installation.
- The installer will also install CUDA sample programs and the CUDA Visual Studio integration.
Please make sure you have Visual Studio installed before running this installer.
To confirm that the installation is successful, the following aspects should be ensured:
- All the CUDA samples will be located at C:\ProgramData\NVIDIA Corporation\CUDA Samples\vx.x if you have chosen the default path for installation.
- To check installation, you can run any project.
- We are using the device query project located at C:\ProgramData\NVIDIA Corporation\CUDA Samples\vx.x\1_Utilities\deviceQuery.
- Double-click on the *.sln file of your Visual Studio edition. It will open this project in Visual Studio.
- Then you can click on the local Windows debugger in Visual Studio. If the build is successful and the following output is displayed, then the installation is complete: