The llvm.nvvm.read.ptx.sreg.ctaid.x intrinsic; known as __nvvm_read_ptx_sreg_ctaid_x in GCC.
See Implementation
The llvm.nvvm.read.ptx.sreg.ctaid.x intrinsic; known as __nvvm_read_ptx_sreg_ctaid_x in GCC.