IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

ncclResult_t

struct ncclResult_t

Status code returned by NCCL/RCCL collective operations.

Wraps the integer error code from the NCCL/RCCL C API. Use ncclResult_t.ncclSuccess (value 0) to check for a successful call.

Implemented traits

AnyType, Copyable, Deinitable, Equatable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable, Writable

comptime members

ncclSuccess

comptime ncclSuccess = ncclResult_t(Int(0))

Methods

__init__

def __init__(value: Int) -> Self

__eq__

def __eq__(self, other: Self) -> Bool

Returns:

Bool

write_to

def write_to(self, mut writer: T)