Skip to main content

dispatch_size_1d

Function dispatch_size_1d 

Source
pub fn dispatch_size_1d(n: u32, group_size: u32) -> u32
Expand description

Compute the 1-D dispatch size needed to cover n items with group_size threads per work-group.