Gcc/10.2.0/gcc/Nvidia-PTX-Variable-Attributes
From Get docs
Next: PowerPC Variable Attributes, Previous: MSP430 Variable Attributes, Up: Variable Attributes [Contents][Index]
6.34.11 Nvidia PTX Variable Attributes
These variable attributes are supported by the Nvidia PTX back end:
shared
Use this attribute to place a variable in the
.shared
memory space. This memory space is private to each cooperative thread array; only threads within one thread block refer to the same instance of the variable. The runtime does not initialize variables in this memory space.