已合并
fix: input_util.h 等添加头文件保护 #2722
zhanw_coding创建于 5月13日
fix: input_util.h 等添加头文件保护 #2722
已合并
zhanw_coding创建于 5月13日
zhanw_coding
zhanw_coding成员
5月13日

描述

fix: input_util.h 等公共头文件添加头文件保护

关联的Issue

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

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhanw_coding 的贡献)
zhanw_codingzhanw_coding成员
5月13日 创建了 pull request,commit fc576eb2
zhanw_codingzhanw_coding成员
5月13日 关联了issue:[Bug-Report|缺陷反馈]: 部分公共头文件缺失头文件保护
CANN-robot
CANN-robot成员
5月13日 评论:

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
repo-cann/ops-math wangrui_, 宋凯 (2/2) wangrui_ (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
5月13日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
5月13日 将zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,jia0liang,songkai111,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
5月13日 将zhou-qilong,wangrui_,rxtfeng,loov1,zhangzijie,jia0liang,songkai111,llimwang,gubaocheng设为审查人
zhanw_coding
zhanw_coding成员
5月13日 评论:

compile

likedislike
zhanw_codingzhanw_coding成员
5月13日 update merge request[project id: 7649531, iid: 2722, commit_id: 999036a45d54f0ab3df406352861522435c2fdaa] virtual merging success
zhanw_coding
zhanw_coding成员
5月13日 评论:

compile

likedislike
zhanw_codingzhanw_coding成员
5月13日 update merge request[project id: 7649531, iid: 2722, commit_id: 3f6aa4a4035fe71d28ca9317eab209bda2583efd] virtual merging success
CANN-robotCANN-robot成员
5月13日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月13日 评论:

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

任务名称状态日志下载链接
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_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
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 ✅ SUCCESS >>>>>
ATK_Test_A2 ✅ SUCCESS

[2026-05-13 16:56:16]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
5月13日 评论:

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

任务名称状态日志下载链接
codecheck ❌ FAILED
SCA ❌ FAILED >>>>>
anti_virus ✅ 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 >>>>> >>>>>
likedislike
CANN-robotCANN-robot成员
5月13日 添加了label:api-check-pass
CANN-robotCANN-robot成员
5月13日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
5月13日 添加了label:ci-pipeline-failed
zhanw_coding
zhanw_coding成员
5月14日 评论:

compile

likedislike
zhanw_codingzhanw_coding成员
5月14日 update merge request[project id: 7649531, iid: 2722, commit_id: 12f83b04d03cd99cd9035347011e3b1fc4a618df] virtual merging success
CANN-robotCANN-robot成员
5月14日 删除了label:ci-pipeline-failedapi-check-pass
CANN-robotCANN-robot成员
5月14日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
5月14日 评论:

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

任务名称状态日志下载链接
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_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
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 ✅ SUCCESS >>>>>
ATK_Test_A2 ✅ SUCCESS

[2026-05-14 09:35:29]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
5月14日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ 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-05-14 09:28:46]    CI执行结束

likedislike
CANN-robotCANN-robot成员
5月14日 添加了label:api-check-pass
CANN-robotCANN-robot成员
5月14日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
5月14日 添加了label:ci-pipeline-passed
RuiWang_成员
5月14日 评论:

/lgtm
/approve

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

/lgtm

likedislike
CANN-robotCANN-robot成员
5月14日 添加了label:lgtm
CANN-robot
CANN-robot成员
5月14日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: wangrui_.
Reviewers who wrote a comment of /lgtm are: wangrui_, 宋凯.

likedislike
CANN-robotCANN-robot成员
5月14日 关闭了关联的issue
CANN-robotCANN-robot成员
5月14日 合入了pull request