pub enum CommBackend {
NCCL,
Gloo,
MPI,
Custom,
}Expand description
Communication backend
Abstraction for different communication libraries (MPI, NCCL, Gloo, etc.)
Variants§
NCCL
NCCL (NVIDIA Collective Communications Library) for GPU
Gloo
Gloo for CPU and GPU
MPI
MPI (Message Passing Interface)
Custom
Custom implementation
Trait Implementations§
Source§impl Clone for CommBackend
impl Clone for CommBackend
Source§fn clone(&self) -> CommBackend
fn clone(&self) -> CommBackend
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 CommBackend
impl Debug for CommBackend
Source§impl PartialEq for CommBackend
impl PartialEq for CommBackend
impl Copy for CommBackend
impl Eq for CommBackend
impl StructuralPartialEq for CommBackend
Auto Trait Implementations§
impl Freeze for CommBackend
impl RefUnwindSafe for CommBackend
impl Send for CommBackend
impl Sync for CommBackend
impl Unpin for CommBackend
impl UnsafeUnpin for CommBackend
impl UnwindSafe for CommBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more