#[repr(C)]pub struct NcclEvent {
pub pid: u32,
pub op: u8,
pub _pad: [u8; 3],
pub size_bytes: u64,
pub start_ns: u64,
pub duration_ns: u64,
pub rank: u32,
pub num_ranks: u32,
}Expand description
NCCL collective operation event. Layout must match struct zernel_nccl_event in common.h.
Fields§
§pid: u32§op: u8§_pad: [u8; 3]§size_bytes: u64§start_ns: u64§duration_ns: u64§rank: u32§num_ranks: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NcclEvent
impl RefUnwindSafe for NcclEvent
impl Send for NcclEvent
impl Sync for NcclEvent
impl Unpin for NcclEvent
impl UnwindSafe for NcclEvent
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