Skip to main content

stride_align_bits

Function stride_align_bits 

Source
pub fn stride_align_bits(
    strides: &[usize],
    layout: &MatrixLayout,
    dtype: &ElemType,
) -> u32
Expand description

Defines the non-contiguous stride alignment in terms of powers of two