external-gitcode-ascend-ascendc-operator-compile-debug

Installation
SKILL.md

AscendC 算子编译安装与精度测试

编译 ascend-kernel 工程、安装 whl 包、生成并运行精度测试。通常由 ascendc-operator-code-gen skill 在代码生成完成后调用。

前置条件

  • op_host、op_kernel 代码已生成
  • ops.h、register.cpp、csrc/CMakeLists.txt 已更新(框架适配完成)
  • CANN 环境可用

工作流程

阶段 0: 环境准备

MANDATORY — 每次 shell 命令前必须加载环境。禁止硬编码路径,禁止自行搜索路径。

获取环境信息

若上游 skill(如 ascendc-operator-dev)已确认 CANN 路径和 Conda 环境名称,则直接使用,无需再次询问。

Installs
8
GitHub Stars
143
First Seen
Apr 18, 2026
external-gitcode-ascend-ascendc-operator-compile-debug — ascend-ai-coding/awesome-ascend-skills