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
apply_phase_recipe
apply_phase_recipe(body: List[OpDesc], steps: List[PhaseStep], config: PipelineConfig, phase: Phase) -> List[ScheduleEntry]
Evaluate a phase recipe against a body, producing ScheduleEntries.
Walks the recipe steps in order. For each EMIT step, scans the body for ops matching the step's role and predicates, then emits them as ScheduleEntry values. BARRIER and FENCE steps emit infrastructure ops.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!