Cuda 10.1 unable to recognize MSVS Community 2019 version 16.0.2

Hi

Cuda cuda_10.1.105_418.96_win10 installer is not recognizing Visual Studio Community 2019 version 16.0.2.

Could anybody point out the problem please?

Thanks.

I’m facing the same problem with CUDA 10.1 and MSVS Community 2017 version 15.9.11.

I’ve installed the following items:

VC++ 2015.3 v14.00 (v140) toolset
Windows 10 SDK (10240, 10586, 14393, 15063, 16299, 17134 and 17763)

Could someone please help?

Thanks.

I found a solution to this.

  1. Copying the content of the folder:
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\visual_studio_integration\MSBuildExtensions

to:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations

  1. Close all running instances of Visual Studio.
    Go to C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\NVIDIA.
    Create a directory here called CUDA 10.1 Wizards, then create a sub-directory underneath it called 10.1.

  2. In this 10.1 sub-directory, create shortcuts to: (VS will not allow to create the shortcuts directly here. Create the shortcuts on the desktop and move them from there to this 10.1 sub-directory):

C:\ProgramData\NVIDIA GPU Computing Toolkit\v10.1\extras\visual_studio_integration\CudaProjectVsWizards\2019\extension.vsixmanifest

and

C:\ProgramData\NVIDIA GPU Computing Toolkit\v10.1\extras\visual_studio_integration\CudaProjectVsWizards\Nvda.Vsip.CudaWizards.dll.pkgdef

  1. Once these shortcuts are in place, open a Visual Studio 2019 developer command prompt in administrator mode and run ‘devenv.com /setup /nosetupvstemplates’.

  2. Re-start Visual Studio 2019 and see if the project templates are available now.

All information collected above are from the forums. Only summarizing it here.

However the intellisense does not work.

Thanks.

Noticed that this does work for VS 2017, but not for 2019.