Skip to main content

Module nccl_common

Module nccl_common 

Source
Expand description

Types shared between the real NCCL bindings (nccl) and the CPU-only stubs (nccl_stubs).

These types have no dependency on the nccl-sys FFI and are always compiled. Keeping them here removes duplication and guarantees both code paths see an identical public API.

Structs§

NcclGroupTicket
A ticket that we use to link group start/end calls. Does not implement Send, to enforce that group start and end calls are on the same thread.

Enums§

DataType
Rust version of ncclDataType_t.
NcclError
Types of errors that the safe Communicator API can return.
NcclStatus
RawNcclError
Corresponds to ncclResult_t error cases.