Contents

threadgroupMemoryAlignment

The required byte alignment in memory for the threadgroup data.

Declaration

var threadgroupMemoryAlignment: Int { get }

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