已合并
refactor: rename APIs in ops-nn batch4 (10 ops) #8569
hahaha22创建于 9 天前
refactor: rename APIs in ops-nn batch4 (10 ops) #8569
已合并
hahaha22创建于 9 天前
hahaha22成员
9 天前

描述

对 ops-nn 仓 10 个算子的 arch35 kernel 进行 AscendC MicroAPI 重命名整改,涉及以下 API 映射:

  • __local_mem____ubuf__(地址空间限定符)
  • DataCopy(load 方向) → LoadAlign
  • DataCopy(store 方向) → StoreAlign
  • ReduceSumReduce<ReduceType::SUM>
  • DataCopyUnAlignStoreUnAlign
  • DataCopyUnAlignPostStoreUnAlignPost
  • UnalignRegUnalignRegForStore / 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 重命名整改,编译验证通过;无新增测试用例。

文档更新

无需更新文档。

类型标签

AI/Agent生成声明

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 hahaha22 的贡献)
Hhahaha22成员
9 天前 创建了 pull request,commit 0e7cc350
atomgit-bot
atomgit-bot
9 天前 评论:

🤖 正在生成合并请求摘要,请稍候…

likedislike
atomgit-bot
atomgit-bot
9 天前 评论:

🤖 AI 代码检视正在进行中,请稍候…

likedislike
CANN-robotCANN-robot成员
9 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
9 天前 评论:

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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
此处折叠了41条消息 查看更多
TangPC
TangPC成员
7 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7 天前 添加了label:approved
wang-xing001成员
7 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7 天前 添加了label:lgtm
CANN-robotCANN-robot成员
7 天前 合入了pull request