Using the GNU Compiler Collection (GCC): Nvidia PTX Variable Attributes |
---|
Next: PowerPC Variable Attributes, Previous: MSP430 Variable Attributes, Up: Variable Attributes [Contents][Index]
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.