Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://devtalk.nvidia.com/default/topic/1032800/cuda-setup-and-installation/visual-studio-integration-failed-/

https://devtalk.nvidia.com/default/topic/10246551032284/cuda-setup-9and-0installation/cuda-176visual-installerstudio-failsintegration-everyinstallation-timefailed/

https://devtalk.nvidia.com/default/topic/10322841024458/cuda-setup-and-installation/nvidia-cuda-visualversion-studio9-integration0-installationinstaller-failed/3

https://devtalk.nvidia.com/default/topic/10244581024655/cuda-setup9-and0-installation/nvidia176-cudainstaller-versionfails-9-0-installer-failed/3every-time/

https://devtalk.nvidia.com/default/topic/1033047/cuda-setup-and-installation/seriously-what-is-up-with-cuda-9-0-failing-visual-studio-integration/

...

I recommend using CUDA 9.2 with Visual Studio 15.6.7.  This combination of Visual Studio / and CUDA releases seems to work well, and has many important bug fixes and features.  Updating to a more recent version of Visual Studio will likely prevent you from compiling.

You can download and install Visual Studio 15.6.7 from here:
https://docs.microsoft.com/en-us/visualstudio/productinfo/installing-an-earlier-release-of-vs2017

The direct VS community edition link for 15.6.7 is here: https://aka.ms/eac464

Install CUDA 9.2 (and patch) after installing 15.6.7 to install Visual Studio integration properly.

...