Function poc_kokkos_rs::view::parameters::compute_stride
source · pub fn compute_stride<const N: usize>(
dim: &[usize; N],
layout: &Layout<N>
) -> [usize; N]
Expand description
Compute correct strides of each index using dimensions and specified layout.