pub struct AllGatherRequest<T: NcclReduceSupported> {
pub send: GpuRef<T>,
pub recv: GpuRef<T>,
pub reply: Sender<Result<(), GpuError>>,
}Expand description
AllGather: each rank contributes send (length N) and writes a
concatenated buffer of length N * world_size into recv.
Fields§
§send: GpuRef<T>§recv: GpuRef<T>§reply: Sender<Result<(), GpuError>>Trait Implementations§
Source§impl<T: NcclReduceSupported> CollectiveDispatch for AllGatherRequest<T>
impl<T: NcclReduceSupported> CollectiveDispatch for AllGatherRequest<T>
fn dtype_kind(&self) -> DispatchDType
fn device_id(&self) -> Option<u32>
fn dispatch(self: Box<Self>, ctx: &CollectiveDispatchCtx<'_>)
Auto Trait Implementations§
impl<T> Freeze for AllGatherRequest<T>
impl<T> !RefUnwindSafe for AllGatherRequest<T>
impl<T> Send for AllGatherRequest<T>
impl<T> Sync for AllGatherRequest<T>
impl<T> Unpin for AllGatherRequest<T>
impl<T> UnsafeUnpin for AllGatherRequest<T>
impl<T> !UnwindSafe for AllGatherRequest<T>
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