Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wrhwrhwrhsf opened this issue Mar 1, 2021 · 1 comment

Comments

@wrhwrhwrhsf
Copy link

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

@ashelkovnykov
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants