pub struct AsyncFullCyclicLoading<T: TilingOrder> { /* private fields */ }
Expand description
Loads the content of all tiles in the stage memory using all planes, iterating with steps determined by the plane’s dimension.
Trait Implementations§
Source§impl<TO: TilingOrder> AsyncFullLoadingStrategy for AsyncFullCyclicLoading<TO>
impl<TO: TilingOrder> AsyncFullLoadingStrategy for AsyncFullCyclicLoading<TO>
Source§type TilingLayout = ContiguousTilingLayout<TO>
type TilingLayout = ContiguousTilingLayout<TO>
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = AsyncFullCyclicJob
type Job<MP: MatmulPrecision> = AsyncFullCyclicJob
The [LoadingJob] for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
input_ident: InputIdent,
config: G,
) -> AsyncFullCyclicJob
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( input_ident: InputIdent, config: G, ) -> AsyncFullCyclicJob
Returns the job with preliminary calculations done.
Source§fn barrier_level() -> BarrierLevel
fn barrier_level() -> BarrierLevel
The barrier level at which the copy mechanism works
fn __expand_new_job<MP: MatmulPrecision, G: GlobalConfig>( scope: &mut Scope, input_ident: InputIdent, config: G, ) -> <AsyncFullCyclicJob as CubeType>::ExpandType
fn __expand_barrier_level( scope: &mut Scope, ) -> <BarrierLevel as CubeType>::ExpandType
Source§impl<T: Clone + TilingOrder> Clone for AsyncFullCyclicLoading<T>
impl<T: Clone + TilingOrder> Clone for AsyncFullCyclicLoading<T>
Source§fn clone(&self) -> AsyncFullCyclicLoading<T>
fn clone(&self) -> AsyncFullCyclicLoading<T>
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<T: TilingOrder> CubeType for AsyncFullCyclicLoading<T>
impl<T: TilingOrder> CubeType for AsyncFullCyclicLoading<T>
type ExpandType = AsyncFullCyclicLoadingExpand<T>
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl<T: TilingOrder> LoadingValidation for AsyncFullCyclicLoading<T>
impl<T: TilingOrder> LoadingValidation for AsyncFullCyclicLoading<T>
Source§fn check<C: GlobalConfig>(
config: &C,
ident: Ident,
) -> Result<(), InvalidConfigError>
fn check<C: GlobalConfig>( config: &C, ident: Ident, ) -> Result<(), InvalidConfigError>
Verify that configs are valid for a loader, otherwise return an error stating why
impl<T: Copy + TilingOrder> Copy for AsyncFullCyclicLoading<T>
Auto Trait Implementations§
impl<T> Freeze for AsyncFullCyclicLoading<T>
impl<T> RefUnwindSafe for AsyncFullCyclicLoading<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncFullCyclicLoading<T>
impl<T> Sync for AsyncFullCyclicLoading<T>
impl<T> Unpin for AsyncFullCyclicLoading<T>where
T: Unpin,
impl<T> UnwindSafe for AsyncFullCyclicLoading<T>where
T: 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