external-cannbot-ops-ascendc-api-best-practices

Installation
SKILL.md

Ascend C API 最佳实践


API 类别索引

API 类别 涵盖 API 核心文档 典型场景
算术运算 Add, Sub, Mul, Div, Adds, Muls api-arithmetic.md Softmax, LayerNorm, 广播优化
归约操作 ReduceMax, ReduceSum api-reduce.md, api-reduce-pattern.md Softmax, LayerNorm, ReduceMean
数据搬运 DataCopy, DataCopyPad api-datacopy.md 非对齐处理、多维搬运
Transpose / 重排 TransDataTo5HD, Gather api-transpose.md 小通道 transpose、permute
Buffer 管理 TBuf, TQue api-buffer.md Double Buffer、内存规划
精度转换 Cast api-precision.md FP16/FP32 混合精度
流水线同步 EnQue, DeQue, SetFlag api-pipeline.md 多级流水线、事件同步
Compare 256B对齐 Compare api-restrictions.md Padding 策略
repeatTime 限制 repeatTimes ≤ 255 api-repeat-limits.md 分批处理
API 限制 - api-restrictions.md 禁用 API、编译期限制
Host Runtime aclrtSetDevice, aclrtGetDeviceInfo api-host-runtime.md 设备初始化、核数获取
Installs
3
GitHub Stars
168
First Seen
May 19, 2026
external-cannbot-ops-ascendc-api-best-practices — ascend-ai-coding/awesome-ascend-skills