pub const WORKGROUP_SIZE: usize = 256;
Threads per workgroup / threadgroup used by every optimizer kernel.
The Metal backend in scirs2-core hard-codes a 256-wide threadgroup, so this value is not free to change.