已合并
debug exp=1 #3570
wym_666创建于 6月26日
debug exp=1 #3570
已合并
wym_666创建于 6月26日
wym_666
6月26日

描述

关联的Issue

测试

文档更新

类型标签

  • Bug修复
  • 新特性
  • 性能优化
  • 文档更新
  • 其他,请描述:
likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 wym_666 的贡献)
Wwym_666
6月26日 创建了 pull request,commit f546c990
CANN-robotCANN-robot成员
6月26日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
6月26日 评论:

CLA Signature Pass

wym_666, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
6月26日 评论:

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
math/pow 冯彤, 唐燕峰 (2/2) 唐燕峰, 冯彤 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
wym_666
6月26日 评论:

compile

likedislike
Wwym_666
6月26日 update merge request[project id: 7649531, iid: 3570, commit_id: 35a731badbf8fde4016a0077825136ed9b267091] virtual merging success
CANN-robotCANN-robot成员
6月26日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月26日 评论:

流水线任务触发成功
任务链接 [962df4a5a5bf4746a5f69754f1e11e75][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer-chs-math ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-26 15:17:32]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
6月26日 评论:

流水线任务触发成功
任务链接 [6a8ea9841f3c4506bd1478b522182f59][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-06-26 15:13:12]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月26日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月26日 添加了label:ci-pipeline-passed
atomgit-bot
atomgit-bot
6月26日 评论:

代码审查

✅ 未发现问题

likedislike
rxtfeng成员
6月26日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
6月26日 添加了label:approved
atomgit-bot
atomgit-bot
6月26日 评论:

变更摘要

该 PR 标题为"debug exp=1",在 math/pow/op_api/aclnn_pow.cpp 中新增 4 行代码,属于对 pow 算子中指数为 1 场景的调试辅助改动。分支名为 pow_910,推测针对昇腾 910 系列芯片上 pow 算子的特定执行路径添加调试日志,以便追踪指数等于 1 时的算子行为(如 fill(1) 分支或 no-op 优化路径)。该文件无其他模块直接或间接依赖,影响范围极为有限。

主要改动

  • 调试日志添加: 在 aclnn_pow.cpp 中新增调试输出代码,用于追踪 pow 算子中指数(exponent)等于 1 时的执行路径,辅助 910 平台上的问题定位。
  • 变更范围极小: 仅 4 行新增代码且限定在幂运算算子的 API 层实现文件中,不涉及接口、数据结构或核心逻辑变更。
likedislike
FelixTang7成员
6月26日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
6月26日 添加了label:lgtm
CANN-robotCANN-robot成员
6月26日 合入了pull request