Merged
add npu check #1557
YANXI_ZHAOAdd on Apr 11
add npu check #1557
Merged
YANXI_ZHAOAdd on Apr 11
YANXI_ZHAOCollaborators
Apr 11

描述

add npu check for CastDeq/CastDequant,AddRelu,AddReluCast,Axpy,SubRelu,SubReluCast,MulAddDst,FusedMulAddRelu/MulAddRelu Ascend C API

关联的Issue

check tensor physic position
check value range
check tensor alignment

测试

文档更新

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for YANXI_ZHAO's contribution.)
YYANXI_ZHAOCollaborators
Apr 11 Created pull request, commit 8659789d
CANN-robot
CANN-robotCollaborators
Apr 11 Comments:

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
impl/basic_api ✅ chenyiyuan, 诸葛洵, zhanghao_0689 (3/2) ✅ chenyiyuan (1/1)
repo-cann/asc-devkit ✅ 诸葛洵, zhanghao_0689, chenyiyuan (3/2) ✅ zhanghao_0689, chenyiyuan, 诸葛洵 (3/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Apr 11 Added label: cann-cla/yes
CANN-robotCANN-robotCollaborators
Apr 11 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,shi_nanxiang,wuyang_hw,ascendhjh,DragonBornHD84,jiangZD as approver
CANN-robotCANN-robotCollaborators
Apr 11 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,shi_nanxiang,wuyang_hw,ascendhjh,DragonBornHD84,jiangZD as approver
YANXI_ZHAOCollaborators
Apr 11 Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
Apr 11 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Apr 11 Comments:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ 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 >>>>>
UT_Test_3 ✅ SUCCESS
UT_Test_2 ✅ SUCCESS
UT_Test_1 ✅ SUCCESS
UT_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
UT_Test_report ✅ SUCCESS >>>>>

[2026-04-11 18:03:12]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
Apr 11 Added label: api-check-pass
CANN-robotCANN-robotCollaborators
Apr 11 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Apr 11 Added label: ci-pipeline-passed
YANXI_ZHAOCollaborators
Apr 16 Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
Apr 16 Removed label: ci-pipeline-passed
CANN-robotCANN-robotCollaborators
Apr 16 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Apr 16 Removed label: api-check-pass
CANN-robot
CANN-robotCollaborators
Apr 16 Comments:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ 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 >>>>>
UT_Test_3 ✅ SUCCESS
UT_Test_2 ✅ SUCCESS
UT_Test_1 ✅ SUCCESS
UT_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
UT_Test_report ✅ SUCCESS >>>>>
Presmoke_A900_npupool ✅ SUCCESS

[2026-04-16 19:06:31]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
Apr 16 Added label: api-check-pass
6 event messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
Apr 16 Removed label: ci-pipeline-passed
CANN-robot
CANN-robotCollaborators
Apr 16 Comments:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

likedislike
YANXI_ZHAOCollaborators
Apr 16 Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
Apr 16 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Apr 16 Removed label: api-check-pass
CANN-robot
CANN-robotCollaborators
Apr 16 Comments:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ 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 >>>>>
UT_Test_3 ✅ SUCCESS
UT_Test_2 ✅ SUCCESS
UT_Test_1 ✅ SUCCESS
UT_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
UT_Test_report ✅ SUCCESS >>>>>
Presmoke_A900_npupool ✅ SUCCESS

[2026-04-16 20:55:19]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
Apr 16 Added label: api-check-pass
CANN-robotCANN-robotCollaborators
Apr 16 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Apr 16 Added label: ci-pipeline-passed
zhugexun_sjtu
zhugexun_sjtuCollaborators
Apr 16 Comments:

/lgtm

likedislike
zhugexun_sjtu
zhugexun_sjtuCollaborators
Apr 16 Comments:

/approve

likedislike
zhanghao_0689
zhanghao_0689Collaborators
Apr 17 Comments:

/approve
/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Apr 17 Added label: lgtm
chenyiyuanCollaborators
Apr 17 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Apr 17 Added label: approved
CANN-robot
CANN-robotCollaborators
Apr 17 Comments:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 诸葛洵, chenyiyuan, zhanghao_0689.
Reviewers who wrote a comment of /lgtm are: chenyiyuan, 诸葛洵, zhanghao_0689.

likedislike
CANN-robotCANN-robotCollaborators
Apr 17 Merged pull request
YYANXI_ZHAOCollaborators
Apr 17 Associated issue: [Requirement|需求建议]: ASC基础API(复合计算)添加合法检查