Nvcc fatal: The value "sm_61" is not defined for the error "gpu-architecture" in the option with anano

I have configured python and anano for use with gpu; ubuntu 14.04, GeForce GTX 1080, the NVIDIA driver (367.27) and the CUDA toolkit (7.5) for the system are already installed, but when testing with theano gpu implementation I get the above error (for example, when importing theano with gpu enabled) I tried to find possible solutions, but could not. I'm a little new to ubuntu and gpu programming, so I would appreciate an understanding of how I can solve this problem. Thanks

+4
source share
2 answers

I managed to find a solution to this problem (since I still want to use CUDA 7.5) by including the following line in the .theanorc file

flags = -arch=sm_52

no more nvcc fatal error

+2
source

As Robert Kroella said, SM 6.1 (sm_61) is only supported in CUDA 8.0 and higher, and therefore you should download CUDA 8.0 Release Candidate from https://developer.nvidia.com/cuda-toolkit

Ubuntu 14.04 is supported, and the instructions on the setup website should be simple (copy and paste lines to the console).

I would also recommend downloading CUDA 8.0 when it appears, since RC is not the final version.

+7
source

All Articles