Function calculate_cube_count_elemwise

Source
pub fn calculate_cube_count_elemwise(
    num_elems: usize,
    cube_dim: CubeDim,
) -> CubeCount
Expand description

Calculate the number of cubes required to execute an operation where one cube unit is assigned to one element.