Be sure to install in my order! ! ! ! ! ! ! ! ! ! ! !
If you have not created a new cuda project, do not configure the cuda library and path. Or report an error.
Version Information
vistual studio community 2019
Graphics driver latest
cuda 10.0 + cudnn 7.6
tf-gpu 1.15.2
TensorRT 6.0.1.5
I updated my configuration first, but the method has not changed.
1 install vistual studio
You must install it first, and then select the desktop development program. The latest one is 2019, and I use 2018 too.
Once installed, it's over. If you use vscode to develop, you need to configure cl.exe to environment variables. My path is as follows
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe
It can be installed at any time. Mainly configure environment variables. Say this at the end.
2 Install cuda cudnn
Graphics card corresponding cuda version information