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
nvcc fatal : Unsupported gpu architecture 'compute_70' #260
Comments
Go to solution properties -> CUDA C/C++ ->Device -> Code Generation and remove the compute_70,sm_70 at the end. By the way, any card you can buy now will be way faster than your old card. |
I did that step and it led me to this error. 62 of them. I tried to go to an old version, downloaded one from August 18, 2016. A newer nvidia video card is in my future, but not at the moment, I just recently picked up a newer AMD graphics card and ebayed these Quadro cards as I wanted to see what use I could make of them mining Altcoins. |
Can you find your cards in this list here? |
My card is on a different list from that page, it is, 5th item listed under CUDA-Enabled Quadro Products |
Try this vcxproj file: |
Wow it compiled with no errors. Thank you. |
I need some help, I'm trying to compile CCMiner in Visual Studio 2015 to work with my older nvidia Graphics cards but I am running into a snag.
I was following the instructions here so I set up my system to meet the requirements to begin.
https://github.com/KlausT/ccminer/wiki/How-to-create-binaries-under-Windows
I initially got an error trying to open the ccminer.cln file
I fixed that issue from reading this here: modifying the ccminer.vcxproj file so that it pointed directly to the CUDA toolkit I installed v8.0 since I read that this was the last toolkit that would support older CUDA 2.x GPUs, which my nvidia Quadros are rated.
From there I went on to the initial instructions and Rebuild Solutions and I was hoping it would be smooth sailing from there, but now I am coming across an error of unsupported gpu compute_70.
Is there a way I can fix this?
Here's the Output below of the build order, use CTRL+F to nvcc fatal to jump to the error :
Truncating output code - - Too long for Github
1> nvcc fatal : Unsupported gpu architecture 'compute_70'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(687,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=64 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\cuda_x11_simd512.cu.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x11\cuda_x11_simd512.cu"" exited with code 1.
1> Compiling CUDA source file x11\fresh.cpp...
1> Compiling CUDA source file x11\s3.cpp...
1>
1> C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\fresh.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x11\fresh.cpp"
1> nvcc fatal : Unsupported gpu architecture 'compute_70'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(687,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\fresh.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x11\fresh.cpp"" exited with code 1.
1>
1> C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\s3.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x11\s3.cpp"
1> Skipping CUDA source file x11\simd_functions.cu (excluded from build).
Truncating Output build, too long for Github
1> nvcc fatal : Unsupported gpu architecture 'compute_70'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(687,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\x15.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x15\x15.cpp"" exited with code 1.
1>
1> C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\x17.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x17\x17.cpp"
1> nvcc fatal : Unsupported gpu architecture 'compute_70'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(687,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_60,code="sm_60,compute_60" -gencode=arch=compute_61,code="sm_61,compute_61" -gencode=arch=compute_52,code="sm_52,compute_52" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_35,code="sm_35,compute_35" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_37,code="sm_37,compute_37" -gencode=arch=compute_70,code="sm_70,compute_70" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64" -I. -Icompat -Icompat\includes -I"compat\includes-x64" -Icompat\getopt -Icompat\includes\pthreads -I"compat\curl-for-windows\zlib" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" --keep --keep-dir x64\Release\temp\x64 -maxrregcount=80 --machine 64 --compile -cudart shared -Wno-deprecated-gpu-targets -DHAVE_STRUCT_TIMESPEC -DWIN32 -DNDEBUG -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES -D_CRT_SECURE_NO_WARNINGS -DCURL_STATICLIB -DUSE_WRAPNVML -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Ox /FS /Zi /MT /GR-" -o C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\Release\temp\x64\x17.cpp.obj "C:\Users\Clarence\Downloads\ccminer-windows\ccminer-windows\x17\x17.cpp"" exited with code 1.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
The text was updated successfully, but these errors were encountered: