#[repr(C)]pub struct NcclConfig {
pub size: usize,
pub magic: u32,
pub version: u32,
pub blocking: i32,
pub cga_cluster_size: i32,
pub min_ctas: i32,
pub max_ctas: i32,
pub net_name: [u8; 8],
pub split_share: i32,
}Expand description
2026-09-26: Meant for ncclCommInitRankConfig, which nothing in the
workspace calls. It does not match ncclConfig_t in the installed nccl.h
(2.29.7): that struct starts with magic NCCL_API_MAGIC (0xcafebeef), holds
netName as a pointer, and has more fields.
Fields§
§size: usize§magic: u32§version: u32§blocking: i32§cga_cluster_size: i32§min_ctas: i32§max_ctas: i32§net_name: [u8; 8]Implementations§
Source§impl NcclConfig
impl NcclConfig
pub fn non_blocking() -> Self
Auto Trait Implementations§
impl Freeze for NcclConfig
impl RefUnwindSafe for NcclConfig
impl Send for NcclConfig
impl Sync for NcclConfig
impl Unpin for NcclConfig
impl UnwindSafe for NcclConfig
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