Ascendc

End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torch_npu PyTorch custom op) project. Use to design, generate, build, test, document, and tune a new AscendC operator from a name and a math/functional spec. Covers project init, two-level tiling design, op_host/op_kernel code generation, framework registration, compile/install/debug, PyTorch-style API docs, precision evaluation and root-cause debugging, torch_npu.profiler performance benchmarking, performance optimization, and security code review.

ascend-ai-coding 4436b55 71 files · 330.8 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ops/ascendc commit 4436b55e0d

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/ascendc