-
Notifications
You must be signed in to change notification settings - Fork 262
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 occurred while compiling with cuda 11 #310
Comments
Disable compute_30 support may work, but I don't know how to. |
also seeing the same issue, other similar issues comment compute_30 in cmake.config but i don't see that anywhere for this. The root of the issue atleast for me appears to be that i am running a too new version of cuda (11) that has depricated compute_30. Am going to try to downgrade to cuda 10 and see how that goes |
that said this project hasn't been touched in 14 months so i am not hopeful to receive any kind of support. |
This project replaced by unified xmrig miner and CUDA plugin this bug already fixed xmrig/xmrig-cuda@d483b2b but you can specify cmake option |
What he is trying to say is that the default cuda architecture built into the cmake scripts includes sm_30, compute_30, which is not supported by the cuda runtime and tools (sdk) after cuda 10.2, hence the error that you see The easy way to avoid this error is to specify the GPU architecture you want to target with the following: Check the nvidia documentation to see what cuda version supports your video card, and what the compute capability of your card is and make sure they match. For using older graphics cards with sm_30 or sm_20 specs you need to use older cuda sdks as well as older compilers (ie. gcc 7.5 and older). It gets complicated keeping all these different development environments straight. |
It seems that I have solved the problem on my laptop but I forgot to close it. I'll close it anyway. |
Building NVCC (Device) object CMakeFiles/xmrig-cuda.dir/src/nvidia/Release/xmrig-cuda_generated_cuda_core.cu.obj
nvcc fatal : Unsupported gpu architecture 'compute_30'
CMake Error at xmrig-cuda_generated_cuda_core.cu.obj.Release.cmake:220 (message):
Error generating
C:/Users/grade/xmrig-nvidia/build/CMakeFiles/xmrig-cuda.dir/src/nvidia/Release/xmrig-cuda_generated_cuda_core.cu.obj
The text was updated successfully, but these errors were encountered: