已合并
concat重复头文件删除 #4102
concat重复头文件删除 #4102
已合并
zhuzemao创建于 7月16日
zhuzemao成员
7月16日

描述

concat重复头文件删除

关联的Issue

https://gitcode.com/cann/ops-math/issues/2240

测试

不涉及

文档更新

不涉及

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhuzemao 的贡献)
Zzhuzemao成员
7月16日 创建了 pull request,commit 74c3403d
Zzhuzemao成员
7月16日 关联了issue:[Bug-Report|缺陷反馈]: math内存在重复aclnn头文件
atomgit-bot
atomgit-bot
7月16日 评论:

变更摘要

此PR旨在清理 concat 操作模块中的重复头文件。由于 aclnnCat 相关的API声明在其他位置已有定义,conversion/concat/op_host/op_api/aclnn_cat.h 成为一份冗余副本,因此将其整体删除,以消除重复声明带来的维护风险。

主要改动

  • 删除重复头文件:移除 conversion/concat/op_host/op_api/aclnn_cat.h 文件(共38行),该文件是 aclnnCat 操作API声明的冗余副本。
  • 移除 aclnnCatGetWorkspaceSize 重复声明:随文件删除一并移除该函数的第一段接口声明(计算 workspace 大小)。
  • 移除 aclnnCat 重复声明:随文件删除一并移除该函数的第二段接口声明(执行计算)。
likedislike
atomgit-bot
atomgit-bot
7月16日 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
7月16日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月16日 评论:

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
*/*/op_host/op_api/*.h 汤磊, wangrui_ (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

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

likedislike
CANN-robotCANN-robot成员
7月16日 将zhou-qilong,wangrui_,rxtfeng,loov1,tang-lei01,zhangzijie,jia0liang,zl_hw,songkai111,llimwang,gubaocheng,andong_hw,wangyongguang,zhanw_coding设为评审人
Zzhuzemao成员
7月16日 修改了pull request 的描述
CANN-robotCANN-robot成员
7月16日 将tang-lei01,wangyongguang设为审查人
zhuzemao成员
7月16日 评论:

compile

likedislike
Zzhuzemao成员
7月16日 update merge request[project id: 7649531, iid: 4102, commit_id: 5826f4ba0913a719d55d189d853822e2735a1467] virtual merging success
CANN-robotCANN-robot成员
7月16日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月16日 评论:

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

任务名称状态日志下载链接
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 >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_harmony-infer-chs-math ✅ SUCCESS

[2026-07-16 11:15:05]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月16日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>

[2026-07-16 11:08:45]    CI执行结束

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

/check-pr

likedislike
CANN-robot
CANN-robot成员
7月16日 评论:

The following labels are not ready.

lgtm: Please wait for reviewers to review the code.

approved: Please wait for committers to review the code.

likedislike
tang-lei01成员
7月16日 评论:

/approve

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

/approve

likedislike
CANN-robot
CANN-robot成员
7月16日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
wangrui_

likedislike
RuiWang_成员
7月16日 评论:

/lgtm

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