Skip to main content

linear_workgroups

Function linear_workgroups 

Source
pub const fn linear_workgroups(count: u32, workgroup: u32, limit: u32) -> u32
Expand 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.