Skip to main content

dispatch_1d

Function dispatch_1d 

Source
pub fn dispatch_1d(count: u32, wg_size: u32) -> DispatchGrid
Expand description

Calculate the dispatch grid needed to cover count elements with threads of size wg_size in the X dimension.