10.31. Special Registers: %aggr_smem_size
%aggr_smem_size
Total size of shared memory used by a CTA of a kernel.
Syntax (predefined)
ptx
.sreg .u32 %aggr_smem_size;Description
A predefined, read-only special register initialized with total aggregated size of shared memory consisting of the size of user shared memory allocated (statically and dynamically) at launch time and the size of shared memory region which is reserved for the NVIDIA system software use.
PTX ISA Notes
Introduced in PTX ISA version 8.1.
Target ISA Notes
Requires sm_90 or higher.
Examples
ptx
mov.u32 %r, %aggr_smem_size;