I have two issues after installation.
A) The project selection to create a File → New Project → displays no NVIDIA options.
B) Compiling the samples work but you cannot run the resulting file.
Below are some references to start finding the problem from the output in compilation, debug and command prompt when running the example code from source VS 2013 sln för “vectorAdd”.
Can anyone give me a hint or proper solution to these issues?
Build Output…
1>------ Build started: Project: vectorAdd, Configuration: Release x64 ------
1> Compiling CUDA source file vectorAdd.cu…
1>
1> C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\0_Simple\vectorAdd>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin\nvcc.exe” -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2013 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64” -x cu -I./ -I…/…/common/inc -I./ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1/include" -I…/…/common/inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Xcompiler “/wd 4819” -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /FS /Zi /MT " -o x64/Release/vectorAdd.cu.obj “C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\0_Simple\vectorAdd\vectorAdd.cu”
1> vectorAdd.cu
1> Creating library …/…/bin/win64/Release/vectorAdd.lib and object …/…/bin/win64/Release/vectorAdd.exp
1> LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
1> vectorAdd_vs2013.vcxproj → C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\0_Simple\vectorAdd../…/bin/win64/Release/vectorAdd.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Displayed in debug output window …
‘vectorAdd.exe’ (Win32): Loaded ‘C:\ProgramData\NVIDIA Corporation\CUDA Samples\v9.1\bin\win64\Debug\vectorAdd.exe’. Symbols loaded.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\apphelp.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\shell32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\cfgmgr32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\windows.storage.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\combase.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\bcryptprimitives.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\shlwapi.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\user32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel.appcore.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\SHCore.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\powrprof.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\profapi.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\imm32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\nvcuda.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\setupapi.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\version.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\nvfatbinaryLoader.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\ws2_32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\dwmapi.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\uxtheme.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Unloaded ‘C:\Windows\System32\dwmapi.dll’
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\nvapi64.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\ole32.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\dxgi.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\devobj.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\wintrust.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\msasn1.dll’. Cannot find or open the PDB file.
‘vectorAdd.exe’ (Win32): Loaded ‘C:\Windows\System32\crypt32.dll’. Cannot find or open the PDB file.
The thread 0xb80 has exited with code 0 (0x0).
The thread 0x155c has exited with code 0 (0x0).
The thread 0x17bc has exited with code 0 (0x0).
The thread 0x13c4 has exited with code 1 (0x1).
The thread 0xbb8 has exited with code 1 (0x1).
The program ‘[3704] vectorAdd.exe’ has exited with code 1 (0x1).
Result in command prompt…
[Vector addition of 50000 elements]
Copy of input data from the host memory to the CUDA device
CUDA kernel launch with 196 blocks of 256 threads
Failed to launch vectorAdd kernel (error code no kernel image is available for execution on the device)!