pub trait TileConfig:
Copy
+ Clone
+ Eq
+ PartialEq
+ Hash
+ Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn plane_dim(&self) -> u32;
fn matrix_layout<I: Into<Ident>>(&self, ident: I) -> MatrixLayout;
fn stage_line_size<I: Into<Ident>>(&self, ident: I) -> u32;
fn global_line_size<I: Into<Ident>>(&self, ident: I) -> u32;
fn tile_size(&self) -> &TileSize;
}
Expand description
Configuration for the Tile Matmul level
Required Methods§
Sourcefn matrix_layout<I: Into<Ident>>(&self, ident: I) -> MatrixLayout
fn matrix_layout<I: Into<Ident>>(&self, ident: I) -> MatrixLayout
Returns the MatrixLayout for the given ident
Sourcefn stage_line_size<I: Into<Ident>>(&self, ident: I) -> u32
fn stage_line_size<I: Into<Ident>>(&self, ident: I) -> u32
Returns the line size for the given ident
Sourcefn global_line_size<I: Into<Ident>>(&self, ident: I) -> u32
fn global_line_size<I: Into<Ident>>(&self, ident: I) -> u32
Returns the line size for the given ident
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.