KlausT / ccminer-cryptonight

Software for mining various cryptocoins, like Monero (pool mining only)
GNU General Public License v3.0
133 stars 30 forks source link

nvcc fatal : Unsupported gpu architecture 'compute_61' - cuda9 #51

Closed h0h0h0 closed 6 years ago

h0h0h0 commented 6 years ago

Trying to compile the cuda9 branch, gcc5.

nvcc -g -O2 -I . -D_FORCE_INLINES -I/usr/local/cuda/include -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50  -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_61,code=sm_61 --maxrregcount=128 --ptxas-options=-v  -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu
nvcc fatal   : Unsupported gpu architecture 'compute_61'
Makefile:1152: recipe for target 'cryptonight/cryptonight.o' failed
make[2]: *** [cryptonight/cryptonight.o] Error 1
KlausT commented 6 years ago

Try nvcc --version to see what cuda version you have installed on your system.

h0h0h0 commented 6 years ago

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2015 NVIDIA Corporation Built on Tue_Aug_11_14:27:32_CDT_2015 Cuda compilation tools, release 7.5, V7.5.17 AYE YA OK :)