pub const fn linear_workgroups(count: u32, workgroup: u32, limit: u32) -> u32Expand description
Number of workgroups covering count items at workgroup invocations each, capped at
limit; the kernels loop with a grid stride so the cap only trades parallelism, never
coverage.