已合并
资料与头文件接口不一致问题修复 #3652
weike创建于 6月30日
资料与头文件接口不一致问题修复 #3652
已合并
weike创建于 6月30日
weike
weike成员
6月30日

描述

资料与头文件接口不一致问题修复

关联的Issue

#3736

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 weike 的贡献)
weikeweike成员
6月30日 创建了 pull request,commit 94946be8
CANN-robotCANN-robot成员
6月30日 添加了label:stat/needs-squash
CANN-robotCANN-robot成员
6月30日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
6月30日 评论:

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
*/*/docs/acl*.md 吴瑶, 蔡雯雯, 宋恺 (3/2) 吴瑶, 蔡雯雯 (2/1)
*/*/op_api/*.h 王永光, 宋恺 (2/2) 王永光 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
atomgit-bot
atomgit-bot
6月30日 评论:

变更摘要

此 PR 修复了多个算子头文件中接口参数命名与文档不一致的问题,将函数声明中的参数名从 snake_case 风格统一为 camelCase 风格,确保头文件接口与资料描述保持一致。

主要改动

  • aclnnInplaceAsinGetWorkspaceSize 参数名修正: 在 math/asin/op_api/aclnn_asin.h 中,将参数 workspace_size 改为 workspaceSize,与文档接口描述对齐。
  • aclnnInplaceAtan2GetWorkspaceSize 参数名修正: 在 math/atan2/op_api/aclnn_atan2.h 中,将参数 workspace_size 改为 workspaceSize,与文档接口描述对齐。
  • aclnnIsCloseGetWorkspaceSize 参数名修正: 在 math/is_close/op_api/aclnn_isclose.h 中,将参数 equal_nan 改为 equalNan,与文档接口描述对齐。
  • aclnnInplaceSinhGetWorkspaceSize 参数名修正: 在 math/sinh/op_api/aclnn_sinh.h 中,将参数 workspace_size 改为 workspaceSize,与文档接口描述对齐。
likedislike
atomgit-bot
atomgit-bot
6月30日 评论:

代码审查

✅ 未发现问题

likedislike
weike
weike成员
6月30日 评论:

compile

likedislike
weikeweike成员
6月30日 update merge request[project id: 7649531, iid: 3652, commit_id: fbef0f28f455645c4c6d3db24c53deb626b34282] virtual merging success
CANN-robotCANN-robot成员
6月30日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月30日 评论:

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

任务名称状态日志下载链接
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer-chs-math ✅ SUCCESS >>>>>
Compile_kirin-harmony-infer-chs-math-1 ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-30 19:02:33]    CI执行结束

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

流水线任务触发成功
任务链接 [8129f86d65964dc6a8d4b65d5db64fc2][流水线指导]

任务名称状态日志下载链接
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 ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-06-30 18:56:41]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月30日 添加了label:api-check-failed
CANN-robotCANN-robot成员
6月30日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月30日 添加了label:ci-pipeline-passed
weike
weike成员
6月30日 评论:

compile

likedislike
CANN-robotCANN-robot成员
6月30日 删除了label:ci-pipeline-passedapi-check-failed
CANN-robotCANN-robot成员
6月30日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月30日 评论:

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

任务名称状态日志下载链接
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer-chs-math ✅ SUCCESS >>>>>
Compile_kirin-harmony-infer-chs-math-1 ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-30 19:14:16]    CI执行结束

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

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

任务名称状态日志下载链接
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 ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-06-30 19:08:42]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月30日 添加了label:api-check-failed
CANN-robotCANN-robot成员
6月30日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月30日 添加了label:ci-pipeline-passed
weikeweike成员
7月1日 修改了pull request 的描述
吴瑶成员
7月1日 评论:

/lgtm
/approve

likedislike
caiwenwen成员
7月1日 评论:

/lgtm
/approve

likedislike
wangyongguang成员
7月1日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
7月1日 添加了label:approved
songkai111成员
7月1日 评论:

/lgtm

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