Instance Property

threadgroupMemoryAlignment

The required byte alignment in memory for the threadgroup data.

Declaration

@property(readonly) NSUInteger threadgroupMemoryAlignment;

Discussion

If the argument is not a threadgroup, querying this property is a fatal error. The Metal device determines this value.

See Also

Describing a Threadgroup Memory Argument

threadgroupMemoryDataSize

The size, in bytes, of the threadgroup data.