nheqminer icon indicating copy to clipboard operation
nheqminer copied to clipboard

Only CUDA devices with SM 5.0 and higher are supported

Open anselal opened this issue 7 years ago • 6 comments

I got this error "Only CUDA devices with SM 5.0 and higher are supported" when running the command with option for GPU. My GPU is Gigabyte GTX 650 Ti boost which has shader model 5.0 according to the specs at https://www.techpowerup.com/gpudb/b1694/gigabyte-gtx-650-ti-boost-windforce-2x-2-gb But when running the command with -ci option its output is "#0 GeForce GTX 650 Ti BOOST | SM version: 3.0 | SM count: 4" Is that strange or not ???

anselal avatar May 19 '17 21:05 anselal

I have the same issue (using a GTX 650 Ti, but non-boost). What I found out is that naming it "SM 5.0" is misleading for the user, because in fact the program is comparing the Compute capability of the card.

The line which contains std::runtime_error("Only CUDA devices with SM 5.0 and higher are supported."); is not stating an accurate error, therefore leading to the confusion.

The source code has calls to cudaGetDeviceProperties() to compare which returns the cudaDeviceProp structure. Source files cuda_djezo.cpp and cuda_tromp.cpp have it.

According to CUDA Toolkit docs, cudaDeviceProp.major returns the major version of the card's Compute capability, which is distinct from Shader Model support. And according to this official CUDA list, our GTX 650 Ti's have Compute 3.0 capability, so yes it is below 5.0, but not in the Shader Model! Looks like Compute 5.0 is good for Maxwell and up.

So, either the code must be updated to support Compute 3.0 or change the wording of the command line output so that it is clear that it's checking Compute capability and not Shader Model support.

ccajas avatar May 26 '17 04:05 ccajas

GTX 770 2GB card, shader model 5.0 according to this: http://www.gpuzoo.com/GPU-NVIDIA/GeForce_GTX_770.html

Same error.

oblivion2k avatar Jul 06 '17 10:07 oblivion2k

Same issue using a GTX 960 and a GTX 650 Ti

a1c0n avatar Aug 21 '17 00:08 a1c0n

I just changed the lines in cuda_djezo.cpp:

//if (major < 5)
if (major < 2)

and I could get an old GT610 working properly.

pizzaani avatar Dec 21 '17 10:12 pizzaani

wow pizzaani, is possible post that .dll to here I have old GT730 too. sound like it can rebirth! 👍

Thanks a lot!

sepsep242 avatar Feb 13 '18 16:02 sepsep242

sepsep242, hi. I have old video too. Can you cuda_djezo.dll send for me? thx.

andrew-smirnov-spb avatar Jun 11 '18 13:06 andrew-smirnov-spb