What problem does it solve?
Provides a focused analysis of TileLang-Ascend compiler Pass workflows to help engineers understand execution order, data dependencies, and where to safely insert new Passes without breaking the pipeline. It reduces guesswork when modifying pipeline order and ensures cross-phase attrs (like buffer_shapess, address_map, size_map, and buffer scope) are respected.
Core Features & Use Cases
- Reference-first analysis: Prioritizes reading pass-pipeline-overview.md, pass-dependency-graph.md, and new-pass-placement-guide.md to produce accurate high-level reports.
- Dependency mapping: Explains Pass-to-Pass data flow (e.g., buffer scope → CrossCorePipeline, CollectBufferShapes → AscendMemoryPlanning → AscendSyncInsert).
- Placement recommendations: Recommends Phase 1 vs Phase 2 positions and exact insertion points (e.g., after AscendStorageRewrite and before AscendMemoryPlanning) with reasoning and implementation guidance.
- Drill-down on demand: Only reads source files like tilelang/engine/phase.py when the user requests concrete implementation details.
Quick Start
Ask the skill to describe the TileLang-Ascend Pass pipeline, list key pass dependencies, and recommend where to insert a new memory optimization pass.