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 Version||PTX ISA Version|
Each PTX file starts with a
.version directive to indicate which version of PTX should be used by the PTX compiler.
If you want to know what version of the Nvidia CUDA driver is required for your version of the CUDA toolkit, see: CUDA Toolkit Major Component Versions
See also these useful pages from Arnon Shimoni: