nitishsrivastava / deepnet

Implementation of some deep learning algorithms.
BSD 3-Clause "New" or "Revised" License
893 stars 438 forks source link

Unsupported GPU architecture #82

Open vivekveeriah opened 9 years ago

vivekveeriah commented 9 years ago

Hi, I am trying to compile cudamat from your repo. While running the make command, I am getting the following error.

nvcc -O3 \ -v \ -gencode=arch=compute_10,code=sm_10 \ -gencode=arch=compute_20,code=sm_20 \ -gencode=arch=compute_30,code=sm_30 \ --compiler-options '-fPIC' -o libcudamat.so \ --shared cudamat.cu cudamat_kernels.cu -lcublas -L/usr/local/cuda-6.5/lib64 nvcc fatal : Unsupported gpu architecture 'compute_10' make: *\ [libcudamat.so] Error 1

I am using a tesla K40 gpu with cuda-6.5.

jormansa commented 9 years ago

Check post #80 and modify the Makefile accordingly.