Skip to content

About

A lightweight tool for detecting and querying NVIDIA GPU architectures (SM/CC), and generating `-gencode` flags for CUDA builds

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Repository files navigation

cover

JUST A NOTE 👉 A NOTE & A PACKAGE nvidia-arch

✅ All info has been verified by the Explorer 🤖

Updated on 2026-10-16


CUDA versions and supported compute capabilities:

CUDA Version Supported Compute Capabilities
11.0 3.5 – 8.0
11.1 – 11.3 3.5 – 8.6
11.4 – 11.7 3.5 – 8.7
11.8 3.5 – 9.0
12.0 – 12.6 5.0 – 9.0
12.8 5.0 – 12.0
12.9 5.0 – 12.1
13.0 – 13.4 7.5 – 12.1

1. CUDA 12.8 does not include arch/compute 10.3 even though it already exposes arch/compute 12.0.
2. CUDA 12.8 and 12.9 are the only versions that expose arch/compute 10.1 (Meant for Thor T4000/5000, and later replaced by 11.0 in CUDA 13.x).
3. CUDA 12.8 and 12.9 do not support arch/compute 11.0 (Former 10.1 as explained in 2).
4. CUDA 13.x includes arch/compute 8.8, an Ampere target documented by NVCC. NVIDIA's Tile IR table groups sm_87 and sm_88 with Jetson Orin, so this package classifies 8.8 as Jetson/embedded. The exact 8.8 device mapping remains unspecified; NVIDIA's GPU capability list still lists Orin models at 8.7.
5. CUDA 13.4 adds arch/compute 10.7 for Rubin, confirmed in the CUDA 13.4.1 Explorer output. NVIDIA's Tile IR table associates it with HGX Rubin NVL8 and Vera Rubin NVL72, so this package classifies it as datacenter. That table marks Rubin's Tile IR support as developer preview.


CUDA 11.0 already dropped compute capabilities 3.0 and 3.2, as documented in the CUDA 11.0 release notes. Its compiler help still mentions them in a deprecation note, but excludes them from the allowed target values. The catalog below retains these legacy architectures; CUDA-version filtering excludes them.

The package can also include architecture-specific a and family-specific f targets with get_arches(include_a=True, include_f=True). Both options default to False; each variant is checked against the selected CUDA version and inherits its base architecture's GPU categories. See variant support and PTX behavior for the version table and examples.

Compute / Architectures:

# All archs from 30
ALL_ARCH_QE30 = ["30", "32", "35", "37", "50", "52", "53", "60", "61", "62", "70", "72", "75", "80", "86", "87", "88", "89", "90", "100", "101", "103", "107", "110", "120", "121"]

# All archs from 30 for Consumer/Workstation GPUs
ALL_ARCH_QE30_CONS = ["30", "35", "50", "52", "60", "61", "70", "75", "86", "89", "120", "121"]

# All archs from 30 for Jetson/Embedded GPUs
ALL_ARCH_QE30_JETS = ["32", "53", "62", "72", "87", "88", "101", "110"]

Check CUDA version installed:

nvcc --version
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Sep_12_02:18:05_PDT_2024
Cuda compilation tools, release 12.6, V12.6.77
Build cuda_12.6.r12.6/compiler.34841621_0

Check your GPU compute cap:

nvidia-smi --query-gpu=name,compute_cap
$ nvidia-smi --query-gpu=name,compute_cap
name, compute_cap
NVIDIA RTX A6000, 8.6
NVIDIA RTX A6000, 8.6

List baseline GPU architectures supported by CUDA Toolkit (11.1+):

nvcc --list-gpu-arch
$ nvcc --list-gpu-arch
compute_50
compute_52
compute_53
compute_60
compute_61
compute_62
compute_70
compute_72
compute_75
compute_80
compute_86
compute_87
compute_89
compute_90

🆕 Must read for CUDA 13 🔥


Other useful links:

About

A lightweight tool for detecting and querying NVIDIA GPU architectures (SM/CC), and generating `-gencode` flags for CUDA builds

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址