pub fn calculate_cube_count_elemwise( num_elems: usize, cube_dim: CubeDim, ) -> CubeCount
Calculate the number of cubes required to execute an operation where one cube unit is assigned to one element.