pub struct SyncFullLoader<MP: MatmulPrecision, S: StageConfig, L: SyncFullLoadingStrategy> { /* private fields */ }
Implementations§
Source§impl<MP: MatmulPrecision, S: StageConfig, L: SyncFullLoadingStrategy> SyncFullLoader<MP, S, L>
impl<MP: MatmulPrecision, S: StageConfig, L: SyncFullLoadingStrategy> SyncFullLoader<MP, S, L>
pub fn new<G: GlobalConfig>( tensor: VirtualTensor<MP::EI>, x_offset: u32, y_offset: u32, batch_offset: u32, quantization: CubeOption<Quantization<MP>>, input_ident: InputIdent, config: G, ) -> Self
pub fn reader(this: &Self) -> FullReader<MP::ES, L::TilingLayout>
pub fn advance_view(this: &mut Self, k_offset: u32)
pub fn fill_stage(this: &mut Self, config: Config<S>)
pub fn __expand_new<G: GlobalConfig>( context: &mut Scope, tensor: <VirtualTensor<MP::EI> as CubeType>::ExpandType, x_offset: <u32 as CubeType>::ExpandType, y_offset: <u32 as CubeType>::ExpandType, batch_offset: <u32 as CubeType>::ExpandType, quantization: <CubeOption<Quantization<MP>> as CubeType>::ExpandType, input_ident: InputIdent, config: G, ) -> <Self as CubeType>::ExpandType
pub fn __expand_reader( context: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> <FullReader<MP::ES, L::TilingLayout> as CubeType>::ExpandType
pub fn __expand_advance_view( context: &mut Scope, this: <Self as CubeType>::ExpandType, k_offset: <u32 as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_fill_stage( context: &mut Scope, this: <Self as CubeType>::ExpandType, config: Config<S>, ) -> <() as CubeType>::ExpandType
Trait Implementations§
Source§impl<MP: MatmulPrecision, S: StageConfig, L: SyncFullLoadingStrategy> CubeType for SyncFullLoader<MP, S, L>
impl<MP: MatmulPrecision, S: StageConfig, L: SyncFullLoadingStrategy> CubeType for SyncFullLoader<MP, S, L>
type ExpandType = SyncFullLoaderExpand<MP, S, L>
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.
Auto Trait Implementations§
impl<MP, S, L> Freeze for SyncFullLoader<MP, S, L>
impl<MP, S, L> RefUnwindSafe for SyncFullLoader<MP, S, L>where
<L as SyncFullLoadingStrategy>::Job<MP>: RefUnwindSafe,
<L as SyncFullLoadingStrategy>::TilingLayout: RefUnwindSafe,
<MP as MatmulPrecision>::ES: RefUnwindSafe,
S: RefUnwindSafe,
L: RefUnwindSafe,
<MP as MatmulPrecision>::EI: RefUnwindSafe,
impl<MP, S, L> Send for SyncFullLoader<MP, S, L>
impl<MP, S, L> Sync for SyncFullLoader<MP, S, L>
impl<MP, S, L> Unpin for SyncFullLoader<MP, S, L>where
<L as SyncFullLoadingStrategy>::Job<MP>: Unpin,
<L as SyncFullLoadingStrategy>::TilingLayout: Unpin,
<MP as MatmulPrecision>::ES: Unpin,
S: Unpin,
L: Unpin,
<MP as MatmulPrecision>::EI: Unpin,
impl<MP, S, L> UnwindSafe for SyncFullLoader<MP, S, L>where
<L as SyncFullLoadingStrategy>::Job<MP>: UnwindSafe,
<L as SyncFullLoadingStrategy>::TilingLayout: UnwindSafe,
<MP as MatmulPrecision>::ES: UnwindSafe,
S: UnwindSafe,
L: UnwindSafe,
<MP as MatmulPrecision>::EI: 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