What problem does it solve?
Developers working with TileLang Ascend often struggle to choose the appropriate programming mode and correctly set the pass_configs for optimal NPU performance, especially when transitioning code between Expert and Developer paradigms.
Core Features & Use Cases
- Mode Comparison: Clear side‑by‑side overview of Developer and Expert modes, including memory allocation, computation expression, scope handling, synchronization, and pass_config defaults.
- Pass Config Guidance: Detailed explanation of the four Ascend‑specific pass_config switches and recommended settings per scenario.
- Conversion Procedure: Step‑by‑step rules for converting Expert‑mode kernels to Developer mode, covering pass_config activation, memory allocation changes, scope and synchronization removal, and code transformation examples.
- Reference Links: Direct pointers to example directories and mode‑specific code samples for quick lookup.
Quick Start
Convert an Expert‑mode TileLang kernel to Developer mode using the appropriate pass_configs.