Instance Property

maxThreadsPerThreadgroup

The maximum number of threads along each dimension of a threadgroup.

Required.

Declaration

@property(readonly) MTLSize maxThreadsPerThreadgroup;

Discussion

This is the maximum threadgroup size (width, height, depth) supported by the device object.

For more information on the specific threadgroup limits of each feature set, see Using Metal Feature Set Tables.