pub fn total_smem_size() -> u32
Expand description

Returns the amount of total shared memory that has been allocated for every thread block for this kernel. This includes both static and dynamic shared memory. The returned number will be a multiple of static memory allocation unit size:

  • 128 bytes on sm_2x and sm_8x
  • 256 bytes on sm_3x, sm_5x, sm_6x, and sm_7x