I followed the instructions to install CUDA using mounted MSVS 15 - it
worked, I could run the test code from MSVS and the error below tells me I
have CUDA installed.
I'm not sure what --cl-version I am supposed to be using. 2014 fails with
this message: "nvcc fatal : Value '2014' is not defined for option
'cl-version'". However there is a file cl.exe in the specified folder.
--cl-version=2015 fails with the below error
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc
return status', 1, 'for cmd', 'nvcc -shared -O3 --use-local-env
--cl-version=2015 --compiler-bindir C:\\Program Files (x86)\\Microsoft
Visual Studio 14.0\\VC\\bin -Xlinker /DEBUG -D HAVE_ROUND -m64 -Xcompiler
-DCUDA_NDARRAY_CUH=mc72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD
-IC:\\Users\\Big
Pigeon\\Anaconda3\\lib\\site-packages\\theano\\sandbox\\cuda
-IC:\\Users\\Big
Pigeon\\Anaconda3\\lib\\site-packages\\numpy\\core\\include
-IC:\\Users\\Big Pigeon\\Anaconda3\\include -IC:\\Users\\Big
Pigeon\\Anaconda3\\lib\\site-packages\\theano\\gof -o C:\\Users\\Big
Pigeon\\AppData\\Local\\Theano\\compiledir_Windows-10-10.0.14393-SP0-Intel64_Family_6_Model_94_Stepping_3_GenuineIntel-3.5.2-64\\cuda_ndarray\\cuda_ndarray.pyd
mod.cu -LC:\\Users\\Big Pigeon\\Anaconda3\\libs -LC:\\Users\\Big
Pigeon\\Anaconda3 -lcublas -lpython35 -lcudart')
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not
available (error: cuda unavailable)
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are
deprecated, and may be removed in a future release (Use
-Wno-deprecated-gpu-targets to suppress warning).
nvcc fatal : Cannot find compiler 'cl.exe' in PATH
My .theanorc
[global]
device = gpu
floatX = float32
mode=FAST_RUN
[nvcc]
flags = --use-local-env --cl-version=2014
compiler_bindir = C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
[cuda]
root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
[gcc]
cxxflags = -shared -I"C:\TDM-GCC-64\include"
-I"C:\TDM-GCC-64\x86_64-w64-mingw32\include"
I appreciate any advice to get this working.
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.