10.17. Special Registers: %cluster_nctarank
%cluster_nctarank
Number of CTA identifiers in a cluster across all dimensions.
Syntax (predefined)
ptx
.sreg .u32 %cluster_nctarank;Description
A predefined, read-only special register initialized with the number of CTAs within a cluster across all dimensions.
PTX ISA Notes
Introduced in PTX ISA version 7.8.
Target ISA Notes
Requires sm_90 or higher.
Examples
ptx
.reg .b32 %r;
mov.u32 %r, %cluster_nctarank;