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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software