cubecl_matmul/components/global/memory/
config.rs

1use std::{fmt::Debug, hash::Hash};
2
3use crate::components::MatrixLayout;
4
5#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, Default)]
6pub struct GlobalMemoryConfig {
7    pub elements_in_tile_row: u32,
8    pub elements_in_tile_col: u32,
9    pub elements_in_stage_row: u32,
10    pub elements_in_stage_col: u32,
11    pub global_line_size: u32,
12    pub check_row_bounds: bool,
13    pub check_col_bounds: bool,
14    pub matrix_layout: MatrixLayout,
15}