Trouble running with VS2015 and cuda 8.0


My path is correct and the project builds without errors but when I run and hit simple_kernel I hit these errors
In the code the warning is treated as a fatal error and the nvcc fatal error is confusing since the env vars are correct

Running examples using GeForce GTX 660M

Chapter 3

Hello, World!

Cudafy.CudafyCompileException: Compilation error:
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecat
ed, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to s
uppress warning).
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[] type
at Cudafy.Translator.CudafyTranslator.Cudafy(CompileProperties prop, Type[] t
at Cudafy.Translator.CudafyTranslator.Cudafy()
at CudafyByExample.simple_kernel.Execute() in E:\experimental\CudafyV1.29\Cud
afyByExample\chapter03\simple_kernel.cs:line 20
at CudafyByExample.Program.Main(String[] args) in E:\experimental\CudafyV1.29
\CudafyByExample\Program.cs:line 42


ABSULT wrote Jan 2 at 9:14 PM

CUDAfy V1.29 only supports CUDA 7!

VS 2015 shouldn't be a problem - have it running on Win 10 with VS 2015 and Cuda 7.

If there is a cudafy Version for Cuda 8 I would be happy to get a hand on it.


wrote Jan 3 at 4:27 PM

jepperask wrote Mar 1 at 9:12 PM

I get this error as well, regardless of which 'cl.exe' i reference (VC\bin, amd64, amd64_arm, amd64_x86, ...), running CUDA 7.0.

wrote Aug 22 at 6:15 AM

salihkaragoz wrote Aug 22 at 6:34 AM

I think Cuda 7.0 doesnt support Win 10. Cuda 7.5 for windows 10. There is no fit cudafy for win 10. So we can't use cudafy at Win 10.... :(