CUDA installation in Win environment

introduction

On the new computer issued by the company, install CUDA and briefly record it.

Installation process:

1. First, let’s talk about the situation that will occur if CUDA is not installed, that is, if you enter nvcc -V in the cmd terminal, the version information of cuda cannot be displayed, and the display is not an internal or external command.

CUDA download official website address: CUDA Toolkit 12.2 Downloads | NVIDIA Developer

We choose according to the white one in the picture. Of course, it depends on the basic configuration of your own computer, and then click Download to download.

If you want to download other versions of CUDA, just click on the yellow circle at the bottom of the picture above, enter the new interface, select the specified version you need, click on the corresponding name, and the subsequent steps are the same as the picture above. .

 2. After opening the downloaded installation package, click OK to enter the NVIDIA installation program interface. First, a system check will be performed. Note: We encountered a bug here. During the system check, "you already have a new version of the nvidia frameview" appeared. After investigation, we only need to select the application and function interface in the computer settings and search for nvidia frameview sdk. , and then uninstall it.

 3. Complete the above steps, the system check will pass, then agree to the license agreement, and select custom installation in the installation options, check all custom installation options, and click Next. Select the installation location, we choose the default first one here, and click Next to complete the installation.

4. After completing the above steps, we enter nvcc -V in the cmd terminal to see the cuda version information, as shown below:

 

Thumbs up, bro!

Guess you like

Origin blog.csdn.net/qq_39149619/article/details/131599264