pub enum ParallelKind {
DataParallel,
TaskParallel,
PipelineParallel,
SpeculativeParallel,
}Expand description
High-level classification of a parallel execution model.
Variants§
DataParallel
Independent iterations can run simultaneously (SIMD / OpenMP parallel-for).
TaskParallel
Independent sub-computations (futures / async tasks).
PipelineParallel
Producer–consumer stages overlap in time.
SpeculativeParallel
Evaluate multiple branches speculatively and discard losers.
Trait Implementations§
Source§impl Clone for ParallelKind
impl Clone for ParallelKind
Source§fn clone(&self) -> ParallelKind
fn clone(&self) -> ParallelKind
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 Debug for ParallelKind
impl Debug for ParallelKind
Source§impl Display for ParallelKind
impl Display for ParallelKind
Source§impl Hash for ParallelKind
impl Hash for ParallelKind
Source§impl PartialEq for ParallelKind
impl PartialEq for ParallelKind
impl Copy for ParallelKind
impl Eq for ParallelKind
impl StructuralPartialEq for ParallelKind
Auto Trait Implementations§
impl Freeze for ParallelKind
impl RefUnwindSafe for ParallelKind
impl Send for ParallelKind
impl Sync for ParallelKind
impl Unpin for ParallelKind
impl UnsafeUnpin for ParallelKind
impl UnwindSafe for ParallelKind
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