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

Won't work for 940M Nvidia graphics card? #92

Open dungeonaltaf opened 5 years ago

dungeonaltaf commented 5 years ago

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_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 --maxrregcount=128 -I./compat/jansson -o cryptonight/cuda_cryptonight_core.o -c cryptonight/cuda_cryptonight_core.cu nvcc fatal : Unsupported gpu architecture 'compute_60' Makefile:1165: recipe for target 'cryptonight/cuda_cryptonight_core.o' failed make[2]: [cryptonight/cuda_cryptonight_core.o] Error 1 make[2]: Leaving directory '/home/altaf/Desktop/ccminer-cryptonight-master' Makefile:739: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/altaf/Desktop/ccminer-cryptonight-master' Makefile:409: recipe for target 'all' failed make: *** [all] Error 2

I am using nvidia 940 M GPU. i get this error while installing ccminer. Please help!! Thank you