pub struct HomogeneousConfig<M: GlobalConfig> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<M: Clone + GlobalConfig> Clone for HomogeneousConfig<M>
impl<M: Clone + GlobalConfig> Clone for HomogeneousConfig<M>
Source§fn clone(&self) -> HomogeneousConfig<M>
fn clone(&self) -> HomogeneousConfig<M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<M: GlobalConfig> ConvGemmConfig for HomogeneousConfig<M>
impl<M: GlobalConfig> ConvGemmConfig for HomogeneousConfig<M>
Source§fn kernel_size(&self, dim: u32) -> u32
fn kernel_size(&self, dim: u32) -> u32
The size of the convolution kernel at
dim
Source§impl<M: Debug + GlobalConfig> Debug for HomogeneousConfig<M>
impl<M: Debug + GlobalConfig> Debug for HomogeneousConfig<M>
Source§impl<M: GlobalConfig> Deref for HomogeneousConfig<M>
impl<M: GlobalConfig> Deref for HomogeneousConfig<M>
Source§impl<M: GlobalConfig> GlobalConfig for HomogeneousConfig<M>
impl<M: GlobalConfig> GlobalConfig for HomogeneousConfig<M>
Source§type SmmConfig = <M as GlobalConfig>::SmmConfig
type SmmConfig = <M as GlobalConfig>::SmmConfig
Underlying Stage matmul config
Source§fn to_smm_config(&self) -> Self::SmmConfig
fn to_smm_config(&self) -> Self::SmmConfig
Convert itself to the underlying stage matmul config
Source§fn 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 global memory corresponding to the given ident
Source§fn tiling_dimensions<I: Into<Ident>>(&self, ident: I) -> TilingDimensions
fn tiling_dimensions<I: Into<Ident>>(&self, ident: I) -> TilingDimensions
Returns the [StageTiling] for the given ident
Source§fn 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
Source§fn num_planes(&self) -> u32
fn num_planes(&self) -> u32
Returns the number of planes in the cube
Source§fn check_row_bounds<I: Into<Ident>>(&self, ident: I) -> bool
fn check_row_bounds<I: Into<Ident>>(&self, ident: I) -> bool
Whether to check if accessing a row would exceed bounds.
Source§fn check_col_bounds<I: Into<Ident>>(&self, ident: I) -> bool
fn check_col_bounds<I: Into<Ident>>(&self, ident: I) -> bool
Whether to check if accessing a col would exceed bounds.
Source§fn check_k_bounds(&self) -> bool
fn check_k_bounds(&self) -> bool
Whether to check if accessing a col for lhs or row for rhs would exceed bounds.
fn precompute_job(&self) -> bool
Source§impl<M: Hash + GlobalConfig> Hash for HomogeneousConfig<M>
impl<M: Hash + GlobalConfig> Hash for HomogeneousConfig<M>
Source§impl<M: PartialEq + GlobalConfig> PartialEq for HomogeneousConfig<M>
impl<M: PartialEq + GlobalConfig> PartialEq for HomogeneousConfig<M>
impl<M: Copy + GlobalConfig> Copy for HomogeneousConfig<M>
impl<M: Eq + GlobalConfig> Eq for HomogeneousConfig<M>
impl<M: GlobalConfig> MatmulConfig for HomogeneousConfig<M>
impl<M: GlobalConfig> StructuralPartialEq for HomogeneousConfig<M>
Auto Trait Implementations§
impl<M> Freeze for HomogeneousConfig<M>where
M: Freeze,
impl<M> RefUnwindSafe for HomogeneousConfig<M>where
M: RefUnwindSafe,
impl<M> Send for HomogeneousConfig<M>
impl<M> Sync for HomogeneousConfig<M>
impl<M> Unpin for HomogeneousConfig<M>where
M: Unpin,
impl<M> UnwindSafe for HomogeneousConfig<M>where
M: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more