optimize-ascendc-operators - Optimize AscendC Operators on Ascend NPUs
Profiles, diagnoses, optimizes, and validates AscendC operators on Ascend NPU environments.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Inspect harness scripts and input configurations
- Verify ACLNN ABI compatibility
- Profile operator performance using official harness
- Calculate useful work and peak efficiency
- Diagnose performance bottlenecks and pipeline events
- Implement isolated operator optimization hypotheses
- Run accuracy and regression benchmarks
- Package submission archives following platform rules
Inputs
- Official test harness scripts
- AscendC kernel source code and C++ extensions
- Ascend NPU hardware and CANN environment details
- Input tensor shapes and data types
- Profiler summary and statistic CSV files
- Submission packaging scripts
Outputs
- Optimized AscendC operator source code
- Performance timing and efficiency report
- Compiled .run package and submission archive
- Regression test verification results
Requirements
- Ascend NPU hardware
- CANN toolkit with AscendC compiler
- Linux operating system environment
- msprof profiling tool
- Python execution environment
