What problem does it solve? Ascend C operators on Ascend NPU hardware often underperform due to poor tiling parameters, unbalanced communication-compute overlap, or unidentified hardware unit bottlenecks. This Skill provides a structured four-step methodology to diagnose performance bounds and produce concrete tiling corrections. ## Core Features & Use Cases - Four-Step Layered Pipeline Analysis: Step 1 Tiling theoretical modeling, Step 2 inter-card pipeline optimization for communication operators (AllReduce, MC² fusion), Step 3 inter-core pipeline analysis for multi-core synchronized operators, and Step 4 single-core bound diagnosis (Scalar/Memory/Vec/No-Bound). - MC² Fusion Operator Support: Enforces mandatory TilingData collection (baseM/baseN/baseK/usedCoreNum) and isolation testing to measure T_comm/T_compute, compute the R ratio, and run a pruned search over long/short block partitioning candidates. - Use Case: When profiling shows aic_scalar_ratio above 0.3 on a MatMul operator, the Skill routes to Scalar Bound strategies such as Matmul API constant folding and outputs tiling parameter corrections. ## Quick Start Ask the assistant to analyze your Ascend C operator's profiling data and simulation timeline using the ascendc-perf-optimize four-step flow, providing the operator type, shape, dtype, and kernel code.