pub struct AsyncFullCyclicJob { /* private fields */ }
Trait Implementations§
Source§impl<MP: MatmulPrecision, TO: TilingOrder> AsyncLoadingJob<MP, ContiguousTilingLayout<TO>> for AsyncFullCyclicJob
impl<MP: MatmulPrecision, TO: TilingOrder> AsyncLoadingJob<MP, ContiguousTilingLayout<TO>> for AsyncFullCyclicJob
Source§fn execute_task<CM: CopyMechanism<MP::ES>, G: GlobalConfig>(
this: &mut Self,
task_id: u32,
tensor_reader: &TensorReader<MP::EI>,
stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>,
mechanism: &CM,
config: G,
)
fn execute_task<CM: CopyMechanism<MP::ES>, G: GlobalConfig>( this: &mut Self, task_id: u32, tensor_reader: &TensorReader<MP::EI>, stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>, mechanism: &CM, config: G, )
Execute the
task_id
th loading taskSource§fn task_count(this: &Self) -> u32
fn task_count(this: &Self) -> u32
Get the number of tasks
fn __expand_execute_task<CM: CopyMechanism<MP::ES>, G: GlobalConfig>( scope: &mut Scope, this: <Self as CubeType>::ExpandType, task_id: <u32 as CubeType>::ExpandType, tensor_reader: <TensorReader<MP::EI> as CubeType>::ExpandType, stage: <StageMemory<MP::ES, ContiguousTilingLayout<TO>> as CubeType>::ExpandType, mechanism: <CM as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
fn __expand_task_count( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
Source§impl Clone for AsyncFullCyclicJob
impl Clone for AsyncFullCyclicJob
Source§fn clone(&self) -> AsyncFullCyclicJob
fn clone(&self) -> AsyncFullCyclicJob
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 AsyncFullCyclicJob
impl CubeType for AsyncFullCyclicJob
type ExpandType = AsyncFullCyclicJobExpand
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.
impl Copy for AsyncFullCyclicJob
Auto Trait Implementations§
impl Freeze for AsyncFullCyclicJob
impl RefUnwindSafe for AsyncFullCyclicJob
impl Send for AsyncFullCyclicJob
impl Sync for AsyncFullCyclicJob
impl Unpin for AsyncFullCyclicJob
impl UnwindSafe for AsyncFullCyclicJob
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