pub struct Config<G: GlobalConfig, C: CubeDispatch> { /* private fields */ }
Expand description
Configuration for the OneToOneBatchMatmul
Implementations§
Trait Implementations§
Source§impl<G: GlobalConfig, C: CubeDispatch> BatchConfig for Config<G, C>
impl<G: GlobalConfig, C: CubeDispatch> BatchConfig for Config<G, C>
Source§fn to_gmm_config(&self) -> Self::GmmConfig
fn to_gmm_config(&self) -> Self::GmmConfig
Convert itself to the underlying global matmul config
Source§fn tiling_dimensions(&self, ident: Ident) -> TilingDimensions
fn tiling_dimensions(&self, ident: Ident) -> TilingDimensions
Returns the [StageDim] for the given ident
Source§fn max_batches(&self) -> u32
fn max_batches(&self) -> u32
Returns the largest number of batches supported with these configs
Source§impl<G: Clone + GlobalConfig, C: Clone + CubeDispatch> Clone for Config<G, C>
impl<G: Clone + GlobalConfig, C: Clone + CubeDispatch> Clone for Config<G, C>
Source§impl<G: Debug + GlobalConfig, C: Debug + CubeDispatch> Debug for Config<G, C>
impl<G: Debug + GlobalConfig, C: Debug + CubeDispatch> Debug for Config<G, C>
Source§impl<G: Hash + GlobalConfig, C: Hash + CubeDispatch> Hash for Config<G, C>
impl<G: Hash + GlobalConfig, C: Hash + CubeDispatch> Hash for Config<G, C>
Source§impl<G: PartialEq + GlobalConfig, C: PartialEq + CubeDispatch> PartialEq for Config<G, C>
impl<G: PartialEq + GlobalConfig, C: PartialEq + CubeDispatch> PartialEq for Config<G, C>
impl<G: Copy + GlobalConfig, C: Copy + CubeDispatch> Copy for Config<G, C>
impl<G: Eq + GlobalConfig, C: Eq + CubeDispatch> Eq for Config<G, C>
impl<G: GlobalConfig, C: CubeDispatch> MatmulConfig for Config<G, C>
impl<G: GlobalConfig, C: CubeDispatch> StructuralPartialEq for Config<G, C>
Auto Trait Implementations§
impl<G, C> Freeze for Config<G, C>where
G: Freeze,
impl<G, C> RefUnwindSafe for Config<G, C>where
G: RefUnwindSafe,
C: RefUnwindSafe,
impl<G, C> Send for Config<G, C>
impl<G, C> Sync for Config<G, C>
impl<G, C> Unpin for Config<G, C>
impl<G, C> UnwindSafe for Config<G, C>where
G: UnwindSafe,
C: 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