I installed CUDA 7 on a Windows 8.1 System whith Visual Studio 2013.
When I try to use Cudafy 1.29 and create a CudafyModule object, it gives me this runtime Exception:
"An unhandled exception of type 'Cudafy.CudafyCompileException' occurred in Cudafy.NET.dll
Additional information: Compilation error:
nvcc fatal : Cannot find compiler 'cl.exe' in PATH
Please add the Visual Studio VC bin directory to PATH in Environment Variables.."
I added "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\" to my PATH whith name "nvcc", but the error remains.
When I try to run test CUDA on CudafyViewer.exe, it says:
"...
Attempting to cudafy a kernel function.
Successfully translated to CUDA C.
Attempting to compile CUDA C code.
Compilation error: . "
Comments: ** Comment from web user: NickKopp **
When I try to use Cudafy 1.29 and create a CudafyModule object, it gives me this runtime Exception:
"An unhandled exception of type 'Cudafy.CudafyCompileException' occurred in Cudafy.NET.dll
Additional information: Compilation error:
nvcc fatal : Cannot find compiler 'cl.exe' in PATH
Please add the Visual Studio VC bin directory to PATH in Environment Variables.."
I added "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\" to my PATH whith name "nvcc", but the error remains.
When I try to run test CUDA on CudafyViewer.exe, it says:
"...
Attempting to cudafy a kernel function.
Successfully translated to CUDA C.
Attempting to compile CUDA C code.
Compilation error: . "
Comments: ** Comment from web user: NickKopp **
Please do a search for this error on the discussion board. It is frustrating that this still is an issue for some many and I wish there was a simple, single answer that would resolve it for all cases.
Not sure what you mean by "to my PATH whith name "nvcc", "
You need to add it to the System Properties::Advanced::Environment Variables::System variables::Path
You may need to then reboot.