强推这篇文章
https://blog.csdn.net/zhizhengguan/article/details/112680114
有几点问题在此注释
1.没有Microsoft Visual Studio文件夹
解决方法:如图所示
2.找不到extension.vsixmanifest
在C:\ProgramData\NVIDIA GPU Computing Toolkit\v10.1\extras\visual_studio_integration\CudaProjectVsWizards\2017
3.找不到Nvda.Vsip.CudaWizards.dll.pkgdef
在C:\ProgramData\NVIDIA GPU Computing Toolkit\v10.1\extras\visual_studio_integration\CudaProjectVsWizards