Quantcast
Channel: CUDAfy.NET
Viewing all articles
Browse latest Browse all 1169

New Post: "Run CUDA test" produces compilation error in Cudafy Viewer and error: "nvcc fatal : Cannot find compiler 'cl.exe' in PATH"

$
0
0
Downloaded and ran the giant 1GB Nvidia CUDA installation. Then I ran Cudafy Viewer and clicked "Run CUDA Test". Here's the output. As you can see, the Compilation error "." is quite cryptic. What can I do to fix this?
Platform=x64
Checking for CUDA SDK at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc
CUDA SDK Version=7.5
Attempting to cudafy a kernel function.
Successfully translated to CUDA C.
Attempting to compile CUDA C code.
Compilation error: .
I also get this problem when I try to run the "CudafyExamples" project:
ArrayBasicIndexing
Cudafy.CudafyCompileException: Compilation error:
nvcc fatal   : Cannot find compiler 'cl.exe' in PATH


Please add the Visual Studio VC bin directory to PATH in Environment Variables..
   at Cudafy.CudafyModule.Compile(CompileProperties[] props)
   at Cudafy.Translator.CudafyTranslator.Cudafy(IEnumerable`1 props, Type[] types)
   at Cudafy.Translator.CudafyTranslator.Cudafy(CompileProperties prop, Type[] types)
   at Cudafy.Translator.CudafyTranslator.Cudafy(eArchitecture arch)
   at CudafyExamples.Arrays.ArrayBasicIndexing.Execute() in F:\ZMain\_Dan\CudafyV1.29\CudafyV1.29\CudafyExamples\Arrays\ArrayBasicIndexing.cs:line 39
   at CudafyExamples.Program.Main(String[] args) in F:\ZMain\_Dan\CudafyV1.29\CudafyV1.29\CudafyExamples\Program.cs:line 46
What's the quickest way to fix the above problems?

Viewing all articles
Browse latest Browse all 1169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>