Running Windows 7 64-bit, Visual Studio 2008, and CUDA v4 RC2.
I’m trying to build the simple sample problem “bandwidthTest.sln” but it fails to build due to
Access denied (see BuildLog below) but access to what? Appears that “Everyone” has full control on files all the way down from C:\ProgramData\NVIDIA Corporation that contains “NVIDIA GPU Computing SDK 4.0” etc.
************************** BuildLog ***************************
Compiling with CUDA Build Rule…
“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe”
-gencode=arch=compute_10,code="sm_10,compute_10\ "
-gencode=arch=compute_20,code="sm_20,compute_20\ "
–machine 64 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin”
-Xcompiler “/EHsc /W3 /nologo /Od /Zi /MTd "
-I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0/include”
-I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc"
-I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include"
-maxrregcount=0
–compile -o “x64\Debug/bandwidthTest.cu.obj” bandwidthTest.cu
Access is denied.
Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
Build log was saved at “file://c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\bandwidthTest\x64\Debug\ BuildLog.htm”
bandwidthTest - 1 error(s), 0 warning(s)