Instance Property

maxTotalThreadsPerThreadgroup

The maximum number of threads in a threadgroup that can be dispatched using the pipeline.

Required.

Declaration

var maxTotalThreadsPerThreadgroup: Int { get }

Discussion

The maximum number of threads is calculated when the pipeline object is created, and never changes.

See Also

Querying Threadgroup Attributes

var threadExecutionWidth: Int

The number of threads that are executed simultaneously by the GPU.

Required.

var staticThreadgroupMemoryLength: Int

The length, in bytes, of threadgroup memory that is statically allocated.

Required.