已合并
refactor: 隔离 ops-ras 重复头文件路径 #89
LiuZonggu创建于 28 天前
refactor: 隔离 ops-ras 重复头文件路径 #89
已合并
LiuZonggu创建于 28 天前
从已删除 :fix/remove-duplicate-headers合入到cann/ops-rasmaster
LiuZonggu成员
28 天前

描述

根据跨仓头文件扫描结果,处理重复头文件路径。

具体调整:

  • 清理 common/inc/framework/onnx_common.h、common/inc/op_api/level2_base.h 和 common/inc/op_api/op_api_def.h。
  • 保留 aclnn_util.h 文件名及内容,将其从 common/inc/op_api 迁移到 common/include/external/ras;Git 识别为 R100。
  • 保留 op_resource.h 文件名、宏和内容,将其从 common/inc/op_api 迁移到 common/include/static/ras;Git 识别为 R100。
  • 使用 external/static 分类方式,并增加 ras 路径命名空间。
  • 在 OPAPI_INCLUDE 中增加新的 RAS 隔离目录。
  • 删除 classify_rule.yaml 中已不存在的 level2_base.h 交付项。

关联的Issue

关联 Issue #25

测试

UT 以及安装卸载通过

文档更新

无。

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 LiuZonggu 的贡献)
LLiuZonggu成员
28 天前 创建了 pull request,commit d906f521
CANN-robotCANN-robot成员
28 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
28 天前 评论:

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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/ops-ras ✅ chenxingyu18, 徐鲁威 (2/2) ✅ chenxingyu18 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
LLiuZonggu成员
28 天前 修改了pull request 的描述
LiuZonggu成员
28 天前 评论:

compile

likedislike
LLiuZonggu成员
28 天前 修改了pull request 的描述
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-08-29 17:15:46]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
API_Check ⚠️ WARNING >>>>>

[2026-08-29 17:18:38]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

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

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

[2026-08-29 17:17:58]    CI执行结束

likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:api-check-failed
CANN-robotCANN-robot成员
28 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-passed
chenxingyu18成员
27 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
27 天前 添加了label:approved
LLiuZonggu成员
27 天前 修改了pull request 的描述
loov成员
27 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
27 天前 添加了label:lgtm
CANN-robotCANN-robot成员
27 天前 关闭了关联的issue
CANN-robotCANN-robot成员
27 天前 合入了pull request