pub struct AsyncFullMaximizeSliceLengthLoading {}
Expand description
Executes one memcpy_async call per contiguous slice. The goal is to reduce the total number of memcpy_async calls, though it may result in idle threads.
Trait Implementations§
Source§impl AsyncFullLoadingStrategy for AsyncFullMaximizeSliceLengthLoading
impl AsyncFullLoadingStrategy for AsyncFullMaximizeSliceLengthLoading
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = AsynFullMaximizeSliceLengthJob
type Job<MP: MatmulPrecision> = AsynFullMaximizeSliceLengthJob
The [LoadingJob] for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
input_ident: InputIdent,
config: G,
) -> AsynFullMaximizeSliceLengthJob
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( input_ident: InputIdent, config: G, ) -> AsynFullMaximizeSliceLengthJob
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, ) -> <AsynFullMaximizeSliceLengthJob as CubeType>::ExpandType
fn __expand_barrier_level( scope: &mut Scope, ) -> <BarrierLevel as CubeType>::ExpandType
Source§impl Clone for AsyncFullMaximizeSliceLengthLoading
impl Clone for AsyncFullMaximizeSliceLengthLoading
Source§fn clone(&self) -> AsyncFullMaximizeSliceLengthLoading
fn clone(&self) -> AsyncFullMaximizeSliceLengthLoading
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 CubeType for AsyncFullMaximizeSliceLengthLoading
impl CubeType for AsyncFullMaximizeSliceLengthLoading
type ExpandType = AsyncFullMaximizeSliceLengthLoadingExpand
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 LoadingValidation for AsyncFullMaximizeSliceLengthLoading
impl LoadingValidation for AsyncFullMaximizeSliceLengthLoading
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 Copy for AsyncFullMaximizeSliceLengthLoading
Auto Trait Implementations§
impl Freeze for AsyncFullMaximizeSliceLengthLoading
impl RefUnwindSafe for AsyncFullMaximizeSliceLengthLoading
impl Send for AsyncFullMaximizeSliceLengthLoading
impl Sync for AsyncFullMaximizeSliceLengthLoading
impl Unpin for AsyncFullMaximizeSliceLengthLoading
impl UnwindSafe for AsyncFullMaximizeSliceLengthLoading
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