CUDA installation and a common problem

This is a review blog post. It has been several days since CUDA was installed, and today I finally have time to record

Preface: My CUDA installation failed because of the version! ! !

Article Directory

Problem background

CUDA is a kind of computing architecture used by NV to work with graphics cards. When you install torch, you will see one of the options,
Insert picture description here
so I am a little interested in it.

The installation is simple, just select the corresponding version and download in https://developer.nvidia.com/cuda-downloads .

Its installation requires a place to decompress and run. The installation location selected for the first time will be deleted (?) after the installation is completed, if customized; the second selection is three side-by-side options. In the end, it often prompts that VisualStudio related plug-ins have serious problems.

Reading some blog posts also supports this point: For
example, https://blog.csdn.net/zzpong/article/details/80282814
also said that nsight-related computing components cannot be selected, such as this one (this is not good, No hyperlinks are added):
https://www.cnblogs.com/arxive/p/11198420.html
but they did not solve my problem.

solution

First check whether your graphics card can support CUDA, and look for NVIDIA Control Panel in the global search:
Insert picture description here
check the CUDA version that your graphics card is compatible with in the system information-component-NVCUDA.dll item. For example, here is
Insert picture description here
the easiest way for CUDA10.2., search for CUDA10.2 directly in Bing, and enter
Insert picture description here
https://developer.nvidia.com/cuda-10.2-download-archive.

To solve the version problem, repeat the steps in the previous blog. Note that when customizing the installation module, cancel the Visual Studio Integration sub-item and the three parent items except the first item. As shown
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45502929/article/details/108763265