The precompiled executables are not included with the latest cuda7 download (I could not find deviceQuery ) .
However, all the sample files are present and in the correct directories.
I loaded the file, bandwidthTest_vs2013.sln, and went to build.
No issues identified.
I tried to debug and got a dialog that the build was out of date.
(What? I just built it?) I answered yse to the dialog and watched it build again. Then another dialog appearred.
“Unable to start program ‘…bandwidthTest.exe’
Unrecognized error occurred in the windows Web Services Framework.”
I don’t have that problem. I did build the entire samples package. Then I went and loaded just the bandwidthTest_)vs2013.sln. Did a clean, build and run in the debugger and no dialog. I have seen this before in some other projects. I usually don’t worry about and move on.
Thank to AeroClassics for idea!
Had the same problem when building bandwidthTest sample in Visual Studio 2019.
My decision:
Open solution bandwidthTest_vs2019.sln OR Samples_vs2019.sln
For bandwidthTest project set:
set actual path to CUDA target (for example: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\extras\visual_studio_integration\MSBuildExtensions\CUDA 11.2.targets)
set the CUDA Toolkit Custom Dir field to $(CUDA_PATH) (for example: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2)