pub struct RowMajorSpanMatmul {}
Expand description
Iterates on global matmuls in a row major fashion
Trait Implementations§
Source§impl CubeType for RowMajorSpanMatmul
impl CubeType for RowMajorSpanMatmul
type ExpandType = RowMajorSpanMatmulExpand
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl SpanMatmul for RowMajorSpanMatmul
impl SpanMatmul for RowMajorSpanMatmul
fn execute<MP: MatmulPrecision, GMM: GlobalMatmul<MP>>( lhs: VirtualTensor<MP::EI>, rhs: VirtualTensor<MP::EI>, out: VirtualTensor<MP::EO, ReadWrite>, span: Span, acc: GMM::Accumulator, k_range: (u32, u32), quantization: CubeOption<Quantization<MP>>, config: GMM::Config, )
fn __expand_execute<MP: MatmulPrecision, GMM: GlobalMatmul<MP>>( context: &mut Scope, lhs: <VirtualTensor<MP::EI> as CubeType>::ExpandType, rhs: <VirtualTensor<MP::EI> as CubeType>::ExpandType, out: <VirtualTensor<MP::EO, ReadWrite> as CubeType>::ExpandType, span: <Span as CubeType>::ExpandType, acc: <GMM::Accumulator as CubeType>::ExpandType, k_range: <(u32, u32) as CubeType>::ExpandType, quantization: <CubeOption<Quantization<MP>> as CubeType>::ExpandType, config: GMM::Config, ) -> <() as CubeType>::ExpandType
Auto Trait Implementations§
impl Freeze for RowMajorSpanMatmul
impl RefUnwindSafe for RowMajorSpanMatmul
impl Send for RowMajorSpanMatmul
impl Sync for RowMajorSpanMatmul
impl Unpin for RowMajorSpanMatmul
impl UnwindSafe for RowMajorSpanMatmul
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