Skip to main content

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)