AscendC Operator Project Initializer

•
99
•

Initializes standardized AscendC operator projects for Huawei NPU development, creating build-ready directory structures and boilerplate code.

This skill streamlines the development of custom NPU operators by automating the creation of the Ascend-Kernel project structure. It detects existing project environments, enforces strict snake_case naming conventions, and generates necessary files across host and kernel directories. By providing a structured multi-stage workflow and a 'Definition of Done' checklist, it ensures that developers can immediately transition from project initialization to operator design and implementation while avoiding common pitfalls in Huawei Ascend development, such as incorrect CMake configurations or registration omissions.

Key Features

01Boilerplate generation for CMakeLists, design documents, and C++ source files
02Automated Ascend-Kernel project detection and template replication
03Integrated guidance for operator registration in ops.h and register.cpp
04Safety-first directory checks to prevent accidental overwriting of existing work
05Standardized directory generation for host and kernel operator code
0699 GitHub stars

Use Cases

01Standardizing local operator code into the recommended Ascend-Kernel layout
02Bootstrapping high-performance tensor operation development for NPU acceleration
03Creating a new custom AI operator for Huawei Ascend NPUs from scratch