pub enum AllReduceAlgorithm {
Ring,
Tree,
RecursiveHalving,
Auto,
}Expand description
Algorithm selection for AllReduce.
Variants§
Ring
Ring-based — bandwidth-optimal for large messages.
Tree
Tree-based — latency-optimal for small messages.
RecursiveHalving
Recursive halving-doubling — for power-of-2 rank counts.
Auto
Automatic selection based on message size and rank count.
Trait Implementations§
Source§impl Clone for AllReduceAlgorithm
impl Clone for AllReduceAlgorithm
Source§fn clone(&self) -> AllReduceAlgorithm
fn clone(&self) -> AllReduceAlgorithm
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 AllReduceAlgorithm
impl Debug for AllReduceAlgorithm
Source§impl Hash for AllReduceAlgorithm
impl Hash for AllReduceAlgorithm
Source§impl PartialEq for AllReduceAlgorithm
impl PartialEq for AllReduceAlgorithm
impl Copy for AllReduceAlgorithm
impl Eq for AllReduceAlgorithm
impl StructuralPartialEq for AllReduceAlgorithm
Auto Trait Implementations§
impl Freeze for AllReduceAlgorithm
impl RefUnwindSafe for AllReduceAlgorithm
impl Send for AllReduceAlgorithm
impl Sync for AllReduceAlgorithm
impl Unpin for AllReduceAlgorithm
impl UnsafeUnpin for AllReduceAlgorithm
impl UnwindSafe for AllReduceAlgorithm
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