pub struct SyncPartialCyclicJob { /* private fields */ }
Trait Implementations§
Source§impl Clone for SyncPartialCyclicJob
impl Clone for SyncPartialCyclicJob
Source§fn clone(&self) -> SyncPartialCyclicJob
fn clone(&self) -> SyncPartialCyclicJob
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 SyncPartialCyclicJob
impl CubeType for SyncPartialCyclicJob
type ExpandType = SyncPartialCyclicJobExpand
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<MP: MatmulPrecision, TO: TilingOrder> LoadingJob<MP, ContiguousTilingLayout<TO>> for SyncPartialCyclicJob
impl<MP: MatmulPrecision, TO: TilingOrder> LoadingJob<MP, ContiguousTilingLayout<TO>> for SyncPartialCyclicJob
Source§fn execute_task<G: GlobalConfig>(
this: &mut Self,
task_id: u32,
tensor_reader: &TensorReader<MP::EI>,
stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>,
quantization: &CubeOption<Quantization<MP>>,
config: G,
)
fn execute_task<G: GlobalConfig>( this: &mut Self, task_id: u32, tensor_reader: &TensorReader<MP::EI>, stage: &mut StageMemory<MP::ES, ContiguousTilingLayout<TO>>, quantization: &CubeOption<Quantization<MP>>, 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<G: GlobalConfig>( scope: &mut Scope, this: <Self as CubeType>::ExpandType, task_id: u32, tensor_reader: <TensorReader<MP::EI> as CubeType>::ExpandType, stage: <StageMemory<MP::ES, ContiguousTilingLayout<TO>> as CubeType>::ExpandType, quantization: <CubeOption<Quantization<MP>> as CubeType>::ExpandType, config: G, ) -> <() as CubeType>::ExpandType
fn __expand_task_count( scope: &mut Scope, this: <Self as CubeType>::ExpandType, ) -> u32
impl Copy for SyncPartialCyclicJob
Auto Trait Implementations§
impl Freeze for SyncPartialCyclicJob
impl RefUnwindSafe for SyncPartialCyclicJob
impl Send for SyncPartialCyclicJob
impl Sync for SyncPartialCyclicJob
impl Unpin for SyncPartialCyclicJob
impl UnwindSafe for SyncPartialCyclicJob
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