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 function
derive_epilogue_from_program
derive_epilogue_from_program(program: PipelineProgram, config: PipelineConfig) -> List[ScheduleEntry]
Auto-derive epilogue from a kernel program.
Generic transformation for double-buffer schedules:
- Strip prefetch global loads from each block
- Add wait_vm(0) drain starting at the first stripped block per half
- Fuse adjacent blocks where the second has no pre-ops or loads
- Append trailing s_barrier
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!