threadExecutionWidth
The number of threads that the GPU executes simultaneously.
Declaration
var threadExecutionWidth: Int { get }Mentioned in
Discussion
For better performance, when dispatching a compute command, make the number of threads in the threadgroup a multiple of threadExecutionWidth.
See Creating threads and threadgroups and Calculating threadgroup and grid sizes for more information on aligning data, thread width, and threadgroup size.