cuda9.1 installation record of gtx1060

Install vs2017 first, check the 2 key places, refer to the online tutorial
Insert picture description here
, uninstall the graphics card driver and all nvidia related software on the computer, and then go to
https://developer.nvidia.com/cuda-toolkit- archive
download version 9.1

Choose streamlined installation during installation, everything else defaults. After installation, run the two software in this directory, no problem, especially nbody.exe to see if it can run for 10 minutes without reporting an error
Insert picture description here

Then go to this directory and run the commands that come with cuda to see if you can compile and run normally. You need to change the host_config.h file. Because cuda9.1 is not compatible with the latest version of vs2017, if there are other problems, follow the article below to reinstall vs
https://blog.csdn.net/LOVELESSYI/article/details/79219276

If you want to create a new vs project yourself, you can refer to the following article,
https://www.cnblogs.com/wayne793377164/p/8185404.html

Generally speaking, there will be problems. Follow the solutions below
https://blog.csdn.net/qq_35602458/article/details/106808072

Then, in order to ban the automatic update of the graphics card and prevent strange problems when the driver automatically updates one day, it is best to disable all automatic updates of win10. You can refer to the following two articles
https://blog.csdn. net/SyliaJason/article/details/103202892
https://www.zhihu.com/question/400079798/answer/1429165386
Insert picture description here
ps: The screen is still black, I feel that there is a problem with the quality of my graphics card

Guess you like

Origin blog.csdn.net/pfysw/article/details/108760103