For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
ncclDataType_t
struct ncclDataType_t
Data-type selector for NCCL/RCCL collective calls.
Wraps the ncclDataType_t C enum for the floating-point types supported by
the collective bridge. Supported aliases: ncclFloat16, ncclFloat32, and
ncclBfloat16.
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
ncclBfloat16β
comptime ncclBfloat16 = ncclDataType_t(Int(9))
ncclFloat16β
comptime ncclFloat16 = ncclDataType_t(Int(6))
ncclFloat32β
comptime ncclFloat32 = ncclDataType_t(Int(7))
Methodsβ
__init__β
def __init__(value: Int) -> Self
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!