Skip to main content

Mojo struct

WarpRole

@register_passable(trivial) struct WarpRole

Implemented traits

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

comptime members

__copyinit__is_trivial

comptime __copyinit__is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__moveinit__is_trivial

comptime __moveinit__is_trivial = True

Correction

comptime Correction = WarpRole(2)

Empty

comptime Empty = WarpRole(5)

Load

comptime Load = WarpRole(4)

MMA

comptime MMA = WarpRole(3)

Softmax0

comptime Softmax0 = WarpRole(0)

Softmax1

comptime Softmax1 = WarpRole(1)

Methods

__eq__

__eq__(self, other: Int) -> Bool

Returns:

Bool

Was this page helpful?