Skip to main content

Mojo function

build_default_matmul_schedule

build_default_matmul_schedule[num_k_tiles: Int, num_m_mmas: Int, num_n_mmas: Int, num_k_mmas: Int, MMA_M: Int, MMA_N: Int, a_loads_per_thread: Int, b_loads_per_thread: Int]() -> ScheduleCompiler

Build the complete software pipeline schedule for the default matmul.

Uses ScheduleCompiler with SingleBufferSchedule trait implementation. All phases derived from the logical body — no magic numbers in derivation.

Returns a ScheduleCompiler with all phases as Lists. Use as a comptime value — the kernel reads entries via comptime for.

Returns:

ScheduleCompiler

Was this page helpful?