IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo struct

WarpRole

struct WarpRole

Implemented traits​

AnyType, Copyable, Equatable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, RegisterPassable, TrivialRegisterPassable

comptime members​

Correction​

comptime Correction = WarpRole(Int32(2))

Empty​

comptime Empty = WarpRole(Int32(5))

Load​

comptime Load = WarpRole(Int32(4))

MMA​

comptime MMA = WarpRole(Int32(3))

Softmax0​

comptime Softmax0 = WarpRole(Int32(0))

Softmax1​

comptime Softmax1 = WarpRole(Int32(1))

Methods​

__eq__​

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

Returns:

Bool