Hi,
I’ve installed cuda_10.2.89_441.22_win10, including visual studio 2017 integration however the Nvidia->Cuda project type option is missing in visual studio 2017.
I copied the MS Build extension files
CUDA 10.2.props
CUDA 10.2.targets
CUDA 10.2.xml
Nvda.Build.CudaTasks.v10.2.dll
from
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\extras\visual_studio_integration\MSBuildExtensions
to
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\BuildCustomizations
I can successfully build and run the samples and can also convert a VC++ project to cuda by adding the following to the vcxproj file.
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 10.2.targets" />
</ImportGroup>
I also tried VS 2019 and the same problem exists.
Can someone help me resolve this issue please.