cubecl_core::frontend::cmma

Function load_with_layout

Source
pub fn load_with_layout<C: CubeType>(
    mat: &Matrix<C>,
    value: &Slice<'_, C>,
    stride: u32,
    layout: MatrixLayout,
)
Expand description

Load the matrix with the provided array using the stride with an explicit layout. Explicit layouts are required when loading accumulators.