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
DefaultMatmulOps
struct DefaultMatmulOps
Op tags for the default single-buffer matmul kernel.
Kernel-specific data ops in the 0-127 range; framework infrastructure ops inherited from ScheduleOps at 128+.
Fieldsβ
- βvalue (
Int):
Implemented traitsβ
AnyType,
Equatable,
ImplicitlyDeletable,
ScheduleOps
comptime membersβ
BARRIERβ
comptime BARRIER = DefaultMatmulOps(Int(128))
Workgroup-wide barrier (e.g. s_barrier on AMD).
COMPUTEβ
comptime COMPUTE = DefaultMatmulOps(Int(3))
LOAD_DRAMβ
comptime LOAD_DRAM = DefaultMatmulOps(Int(0))
LOAD_FRAGβ
comptime LOAD_FRAG = DefaultMatmulOps(Int(2))
NONEβ
comptime NONE = DefaultMatmulOps(Int(255))
Sentinel value for an absent or unspecified op.
SCHED_GROUP_BARRIERβ
comptime SCHED_GROUP_BARRIER = DefaultMatmulOps(Int(133))
LLVM scheduling-group barrier hint (s_sched_group_barrier).
SCHEDULE_BARRIERβ
comptime SCHEDULE_BARRIER = DefaultMatmulOps(Int(132))
LLVM scheduling-barrier hint (schedule_barrier).
SET_PRIOβ
comptime SET_PRIO = DefaultMatmulOps(Int(131))
Wave priority hint (e.g. s_setprio).
STORE_SMEMβ
comptime STORE_SMEM = DefaultMatmulOps(Int(1))
WAIT_LGKMβ
comptime WAIT_LGKM = DefaultMatmulOps(Int(130))
Wait on outstanding LDS / scalar-memory ops (e.g. s_waitcnt lgkmcnt).
WAIT_VMβ
comptime WAIT_VM = DefaultMatmulOps(Int(129))
Wait on outstanding global-memory loads (e.g. s_waitcnt vmcnt).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!