Autolykos2_NV_Miner icon indicating copy to clipboard operation
Autolykos2_NV_Miner copied to clipboard

ERROR: CUDA failed at src/prehash.cu: 52 CUDA error code 209 Miner is now terminated

Open wrhwrhwrhsf opened this issue 3 years ago • 1 comments

ERROR: CUDA failed at src/prehash.cu: 52 CUDA error code 209 Miner is now terminated

wrhwrhwrhsf avatar Mar 01 '21 02:03 wrhwrhwrhsf

CUDA error code 209 is cudaErrorNoKernelImageForDevice, meaning that the CUDA code was compiled with an incorrect compute capability for the graphics card on which you're trying to mine. You're going to have to build from source yourself, using the following steps (assuming you're running on Linux):

  1. Complete the pre-requisites for building the miner from source
  2. Lookup the compute capability for your graphics card here
  3. Open Makefile in an editor
  4. Delete lines 31 - 39 (inclusive)
  5. Replace the above lines with the following: GENCODE_FLAGS = -gencode arch=compute_XX,code=compute_XX -gencode arch=compute_XX,code=compute_XX, where XX is the compute capability for your graphics card. For example, a GeForce GTX 980 has compute capability 5.2, so XX would be 52
  6. Run make to compile the miner

This StackOverflow thread may help you.

ashelkovnykov avatar Jan 31 '22 01:01 ashelkovnykov