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
KOffsetKind
struct KOffsetKind
Describes how to compute the K offset for a load operation.
K offsets are relative to the loop variable k in the main loop,
expressed as multiples of BK.
Fields
- bk_multiple (
Int):
Implemented traits
AnyType,
Copyable,
Deinitable,
Equatable,
ImplicitlyCopyable,
Movable
comptime members
K0
comptime K0 = KOffsetKind(Int(0))
K1
comptime K1 = KOffsetKind(Int(1))
K_NEXT
comptime K_NEXT = KOffsetKind(Int(2))
K_PREV
comptime K_PREV = KOffsetKind(Int(3))
NONE
comptime NONE = KOffsetKind(Int(255))
Methods
signed_bk_multiple
def signed_bk_multiple(self) -> Int
Return the signed BK multiplier (K_PREV=3 maps to -1).
Returns: