已合并
refactor: rename APIs in ops-nn batch4 (10 ops) #8569
hahaha22创建于 8 天前
refactor: rename APIs in ops-nn batch4 (10 ops) #8569
已合并
H
hahaha22成员
8 天前
8 天前
## 描述
对 ops-nn 仓 10 个算子的 arch35 kernel 进行 AscendC MicroAPI 重命名整改,涉及以下 API 映射:
- `__local_mem__` → `__ubuf__`(地址空间限定符)
- `DataCopy`(load 方向) → `LoadAlign`
- `DataCopy`(store 方向) → `StoreAlign`
- `ReduceSum` → `Reduce`
- `DataCopyUnAlign` → `StoreUnAlign`
- `DataCopyUnAlignPost` → `StoreUnAlignPost`
- `UnalignReg` → `UnalignRegForStore` / `UnalignRegForLoad`
涉及算子(10 个):
- activation/softmax_cross_entropy_with_logits
- activation/softmax_grad
- activation/softmax_v2
- loss/nll_loss
- loss/sparse_softmax_cross_entropy_with_logits
- norm/rms_norm
- norm/rms_norm_dynamic_mx_quant
- norm/rms_norm_grad
- norm/rms_norm_grad_quant
- norm/rms_norm_quant_v2
共修改 38 个 arch35 kernel 头文件,纯 API 重命名,无逻辑变更。
## 关联的Issue
## 测试
纯 API 重命名整改,编译验证通过;无新增测试用例。
## 文档更新
无需更新文档。
## 类型标签
- [ ] Bug修复
- [ ] 新特性
- [ ] 性能优化
- [ ] 文档更新
- [x] 其他,请描述:API 重命名重构
## AI/Agent生成声明
- [x] AI辅助编写


Pull Request已成功合入, 合并人@CANN-robot
(感谢 hahaha22 的贡献)atomgit-bot
8 天前 评论:
8 天前 评论:
🤖 正在生成合并请求摘要,请稍候…


atomgit-bot
8 天前 评论:
8 天前 评论:
🤖 AI 代码检视正在进行中,请稍候…


8 天前 添加了label:cann-cla/yes
CANN-robot
8 天前 评论:
8 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| activation | ✅ 汤平川, 王星 (2/2) | ✅ 汤平川, 王星 (2/1) |
| loss | ✅ 汤平川, 王星 (2/2) | ✅ 汤平川, 王星 (2/1) |
| norm | ✅ 汤平川, 王星 (2/2) | ✅ 王星, 汤平川 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
hahaha22, thanks for your pull request. All authors of the commits have signed the CLA. 👍


此处折叠了41条消息 查看更多
TangPC
7 天前 评论:
7 天前 评论:
/lgtm
/approve


7 天前 添加了label:approved
wang-xing001
7 天前 评论:
7 天前 评论:
/lgtm
/approve


7 天前 添加了label:lgtm
7 天前 合入了pull request