Mojo struct
PingPongOps
struct PingPongOps
Op tags for the ping-pong double-buffered 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,
ImplicitlyDestructible,
ScheduleOps
comptime membersβ
BARRIERβ
comptime BARRIER = PingPongOps(128)
COMPUTEβ
comptime COMPUTE = PingPongOps(2)
LOAD_Aβ
comptime LOAD_A = PingPongOps(0)
LOAD_Bβ
comptime LOAD_B = PingPongOps(1)
MMAβ
comptime MMA = PingPongOps(5)
MMA_LOAD_Aβ
comptime MMA_LOAD_A = PingPongOps(3)
MMA_LOAD_Bβ
comptime MMA_LOAD_B = PingPongOps(4)
NONEβ
comptime NONE = PingPongOps(255)
SCHED_GROUP_BARRIERβ
comptime SCHED_GROUP_BARRIER = PingPongOps(133)
SCHEDULE_BARRIERβ
comptime SCHEDULE_BARRIER = PingPongOps(132)
SET_PRIOβ
comptime SET_PRIO = PingPongOps(131)
WAIT_LGKMβ
comptime WAIT_LGKM = PingPongOps(130)
WAIT_VMβ
comptime WAIT_VM = PingPongOps(129)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!