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

support lower compute capability #4

Closed
anandanand84 opened this issue Aug 25, 2017 · 4 comments
Closed

support lower compute capability #4

anandanand84 opened this issue Aug 25, 2017 · 4 comments

Comments

@anandanand84
Copy link

Trying to build for my gt540m which is compute 2.1 but gives below error

[ 24%] Built target jansson
[ 26%] Building NVCC (Device) object CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_extra.cu.o
nvcc fatal   : Unsupported gpu architecture 'compute_60'
CMake Error at xmrig-cuda_generated_cuda_extra.cu.o.cmake:207 (message):
  Error generating
  /home/shensi/xmrig-nvidia/build/CMakeFiles/xmrig-cuda.dir/src/nvidia/./xmrig-cuda_generated_cuda_extra.cu.o


CMakeFiles/xmrig-cuda.dir/build.make:70: recipe for target 'CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_extra.cu.o' failed
make[2]: *** [CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_extra.cu.o] Error 1
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/xmrig-cuda.dir/all' failed
make[1]: *** [CMakeFiles/xmrig-cuda.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

@esfomeado
Copy link

What version of CUDA you have installed?

@xmrig
Copy link
Owner

xmrig commented Aug 25, 2017

Looks like CUDA 7.5.
I updated build docs if you use CUDA version below 8.0 you need change CUDA_ARCH variable when run cmake. In your case you can build only compute 2.1 -DCUDA_ARCH=21.
Thank you.

@anandanand84
Copy link
Author

@xmrig, Thanks I'll check and let you know

@anandanand84
Copy link
Author

@xmrig It worked fine thankyou.

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

3 participants