pub struct AsyncPartialMaximizeSliceLengthLoading {}
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 AsyncPartialLoadingStrategy for AsyncPartialMaximizeSliceLengthLoading
impl AsyncPartialLoadingStrategy for AsyncPartialMaximizeSliceLengthLoading
Source§type TilingLayout = StridedTilingLayout
type TilingLayout = StridedTilingLayout
The layout describing how data is tiled across the stage.
Source§type Job<MP: MatmulPrecision> = AsyncPartialMaximizeSliceLengthJob
type Job<MP: MatmulPrecision> = AsyncPartialMaximizeSliceLengthJob
The [LoadingJob] for this strategy.
Source§fn new_job<MP: MatmulPrecision, G: GlobalConfig>(
stage_index: u32,
input_ident: InputIdent,
config: G,
) -> AsyncPartialMaximizeSliceLengthJob
fn new_job<MP: MatmulPrecision, G: GlobalConfig>( stage_index: u32, input_ident: InputIdent, config: G, ) -> AsyncPartialMaximizeSliceLengthJob
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, stage_index: u32, input_ident: InputIdent, config: G, ) -> <AsyncPartialMaximizeSliceLengthJob as CubeType>::ExpandType
fn __expand_barrier_level( scope: &mut Scope, ) -> <BarrierLevel as CubeType>::ExpandType
Source§impl Clone for AsyncPartialMaximizeSliceLengthLoading
impl Clone for AsyncPartialMaximizeSliceLengthLoading
Source§fn clone(&self) -> AsyncPartialMaximizeSliceLengthLoading
fn clone(&self) -> AsyncPartialMaximizeSliceLengthLoading
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 AsyncPartialMaximizeSliceLengthLoading
impl CubeType for AsyncPartialMaximizeSliceLengthLoading
type ExpandType = AsyncPartialMaximizeSliceLengthLoadingExpand
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 AsyncPartialMaximizeSliceLengthLoading
impl LoadingValidation for AsyncPartialMaximizeSliceLengthLoading
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 AsyncPartialMaximizeSliceLengthLoading
Auto Trait Implementations§
impl Freeze for AsyncPartialMaximizeSliceLengthLoading
impl RefUnwindSafe for AsyncPartialMaximizeSliceLengthLoading
impl Send for AsyncPartialMaximizeSliceLengthLoading
impl Sync for AsyncPartialMaximizeSliceLengthLoading
impl Unpin for AsyncPartialMaximizeSliceLengthLoading
impl UnwindSafe for AsyncPartialMaximizeSliceLengthLoading
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