Pull Request已成功合入, 合并人@CANN-robot
(感谢 weinachuan 的贡献)以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| examples | yu-xinjie62, songkai111 | mabing1118, liudan12, Allan_Yu, monologue815 |


🔵 source code change are detected, tasks labels is removed in this pull request!


compile


问题/功能描述
本次PR主要对AddExample算子的示例代码、文档和底层实现进行了更新和优化。核心目标是提升示例的准确性、代码的健壮性以及算子在不同平台上的兼容性。具体解决了算子调用方式说明过时、头文件引用路径错误、算子定义配置不完整,以及内核tiling计算逻辑中潜在的除零错误风险。
修改方案描述
修改方案主要包括四个方面:一是更新文档和示例代码,将调用方式统一为“aclnn调用”并修正头文件路径;二是在算子定义中扩展对ascend910_93 SOC版本的支持,提升平台兼容性;三是调整构建脚本以优化编译流程;四是重构内核tiling实现,将可能导致除零错误的向上取整除法改为整除,并简化数据拷贝操作,从而修复了关键的计算逻辑缺陷,增强了代码的健壮性和执行效率。


流水线任务触发成功,任务链接 [1c13e34d122144fda24755fc3ff45e95]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Pre_Compile | ✅ SUCCESS | ||
| UT_Test | 🔄 running | ||
| Smoke_A900 | ⏳ waiting | >>>>> |


以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| examples | yu-xinjie62, songkai111 | liudan12, Allan_Yu, monologue815, mabing1118 |


🔵 source code change are detected, tasks labels is removed in this pull request!


compile


流水线任务触发成功,任务链接 [9634b1a4a2224343b37fcf54973fb65b]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Pre_Compile | ✅ SUCCESS | ||
| UT_Test | ✅ SUCCESS | ||
| Smoke_A900 | ✅ SUCCESS | >>>>> |
[2025-12-25 21:00:04] CI执行结束


/lgtm


/approve


Review Guide
This Pull-Request Passes Review.
Committers who writed a comment of /approve are: monologue815.
Reviewers who writed a comment of /lgtm are: yu-xinjie62, monologue815.


描述
关联的Issue
测试
文档更新
类型标签