Contents

threadGroupSizeIsMultipleOfThreadExecutionWidth

A Boolean value that indicates whether the threadgroup size is always a multiple of the thread execution width.

Declaration

var threadGroupSizeIsMultipleOfThreadExecutionWidth: Bool { get set }

Discussion

If you can guarantee that the threadgroup size used by all compute commands in this pipeline is a multiple of threadExecutionWidth, set this property to true to take advantage of additional Metal optimizations.

The default value is false.

See Also

Configuring the compute execution environment