(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-38087426-2', 'auto'); ga('send', 'pageview');
List

If you’ve ever tried to compile CUDA code with nvcc or clang and seen an error like:

Feature 'labels1 - labels2 expression in .section' requires PTX ISA .version 7.5 or later

you might wonder which version of the NVPTX instruction set architecture your version of CUDA supports. Although there doesn’t seem to be a way to query this directly, the CUDA Toolkit Documentation for each version of CUDA describes which version of PTX ISA it supports. Each version of CUDA corresponds to a different version of PTX ISA:

CUDA VersionPTX ISA Version
11.67.6
11.57.5
11.47.4
11.37.3
11.27.2
11.17.1
11.07.0
10.26.5
10.16.4
10.06.3
9.26.2
9.16.1
9.06.0
8.05.0

Each PTX file starts with a .version directive to indicate which version of PTX should be used by the PTX compiler.

See also these useful pages from Arnon Shimoni:

Matching CUDA arch and CUDA gencode for various NVIDIA architectures

How to check which CUDA version is installed on Linux