Skip to content

Instantly share code, notes, and snippets.

@zachnicoll
Last active October 4, 2022 03:31
Show Gist options
  • Save zachnicoll/f404a070611ccffda607bc65e4636d8f to your computer and use it in GitHub Desktop.
Save zachnicoll/f404a070611ccffda607bc65e4636d8f to your computer and use it in GitHub Desktop.
CMAKE_CUDA_ARCHITECTURES GPU List. Versions are written without the decimal point in CMakeLists.txt. E.g. version 5.0 will be 50.

How To

Find your GPU and add its respective Compute Capability to your project's CMakeLists.txt file, under the CMAKE_CUDA_ARCHITECTURES variable, like so:

SET(CMAKE_CUDA_ARCHITECTURES 61)

Remember to remove the decimal point in the Compute Capability version number!

GPU List

GPU Compute Capability
NVIDIA TITAN RTX 7.5
Geforce RTX 2080 Ti 7.5
Geforce RTX 2080 7.5
Geforce RTX 2070 7.5
Geforce RTX 2060 7.5
NVIDIA TITAN V 7
NVIDIA TITAN Xp 6.1
NVIDIA TITAN X 6.1
GeForce GTX 1080 Ti 6.1
GeForce GTX 1080 6.1
GeForce GTX 1070 6.1
GeForce GTX 1060 6.1
GeForce GTX 1050 6.1
GeForce GTX TITAN X 5.2
GeForce GTX TITAN Z 3.5
GeForce GTX TITAN Black 3.5
GeForce GTX TITAN 3.5
GeForce GTX 980 Ti 5.2
GeForce GTX 980 5.2
GeForce GTX 970 5.2
GeForce GTX 960 5.2
GeForce GTX 950 5.2
GeForce GTX 780 Ti 3.5
GeForce GTX 780 3.5
GeForce GTX 770 3
GeForce GTX 760 3
GeForce GTX 750 Ti 5
GeForce GTX 750 5
GeForce GTX 690 3
GeForce GTX 680 3
GeForce GTX 670 3
GeForce GTX 660 Ti 3
GeForce GTX 660 3
GeForce GTX 650 Ti BOOST 3
GeForce GTX 650 Ti 3
GeForce GTX 650 3
GeForce GTX 560 Ti 2.1
GeForce GTX 550 Ti 2.1
GeForce GTX 460 2.1
GeForce GTS 450 2.1
GeForce GTS 450* 2.1
GeForce GTX 590 2
GeForce GTX 580 2
GeForce GTX 570 2
GeForce GTX 480 2
GeForce GTX 470 2
GeForce GTX 465 2
GeForce GT 740 3
GeForce GT 730 3.5
GeForce GT 730 DDR3,128bit 2.1
GeForce GT 720 3.5
GeForce GT 705* 3.5
GeForce GT 640 (GDDR5) 3.5
GeForce GT 640 (GDDR3) 2.1
GeForce GT 630 2.1
GeForce GT 620 2.1
GeForce GT 610 2.1
GeForce GT 520 2.1
GeForce GT 440 2.1
GeForce GT 440* 2.1
GeForce GT 430 2.1
GeForce GT 430* 2.1
GPU Compute Capability
Tesla K80 3.7
Tesla K40 3.5
Tesla K20 3.5
Tesla C2075 2
Tesla C2050/C2070 2

Source

Originally found in this discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment