Pull Request已成功合入, 合并人@CANN-robot
(感谢 繁依Fanyi 的贡献)变更摘要
本次 PR 为社区任务「aclnnRoll 算子开发」新增了一份 complex64 扩展设计文档,放置于 04_tasks/01_community-task-2026/tasklist/03-1-Roll/Twilight-Fanyi/docs/design.md。文档依照官方 design_template.md 模板编写,系统性地覆盖了 aclnnRoll 算子从 ACLNN/OpDef 类型扩展、Host Tiling 分核对齐、Kernel 尾块处理到多平台适配与测试回归的完整设计方案,属于纯文档更新。
主要改动
- 新增 complex64 设计文档:在指定的社区任务目录下创建
design.md,新增 239 行内容,完整阐述aclnnRoll算子支持complex64类型的架构设计。 - ACLNN 与 OpDef 类型扩展方案:文档明确了 ACLNN 层和 OpDef 层引入
complex64数据类型所需的接口变更与类型注册方式。 - Host Tiling 分核与对齐方案:设计了面向 8 字节元素的 Host Tiling 策略,包含分核逻辑与 data block 对齐机制,确保多核并行效率。
- Kernel 端尾块处理方案:描述了 64 位原样搬移的核心搬移逻辑,并引入
DataCopyPad机制处理尾块数据的边界对齐问题。 - 多平台适配与回归测试方案:覆盖 Atlas A2、A3、A5 三款硬件的适配策略,以及基于
AscendOpTest的精度验证、泛化测试和原 dtype 功能/性能回归方案。


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/cann-ops-competitions | ✅ 傅涛, Carolina_yuan (2/2) | ✅ 傅涛, Carolina_yuan (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Twilight-Fanyi, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


流水线任务触发成功
任务链接 [f700d73aa0ca497ca231097d0b0f27c2][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| cocheck_codestyle | ✅ SUCCESS | ||
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> |
[2026-07-27 11:18:28] CI执行结束


内容没有问题,文档提交位置错误,应在7月对应目录提交。 @Twilight-Fanyi


流水线任务触发成功
任务链接 [f8c35ba68b4144feb867f6bb8f78dc35][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| cocheck_codestyle | ✅ SUCCESS | ||
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> |
[2026-07-27 17:52:39] CI执行结束


@moxiaoyou 收到,已修改


补充一下现状流程图和实现流程图 @Twilight-Fanyi


流水线任务触发成功
任务链接 [aff243fc9d8744a4a4a54f0ca0157dcf][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| cocheck_codestyle | ✅ SUCCESS | ||
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> |
[2026-07-28 18:48:59] CI执行结束


流水线任务触发成功
任务链接 [2c1480655c4e482192fd54b31248605a][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| cocheck_codestyle | ✅ SUCCESS | ||
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> |
[2026-07-28 19:37:50] CI执行结束


@moxiaoyou 收到,已补充


/lgtm


Review Code Warning
@Twilight-Fanyi , You can't review code by yourself, please contact the reviewers. 😲


/approve


变更描述 / Description
依据《7月社区任务-aclnnRoll算子开发任务书》和官方
design_template.md,在以下目录提交 aclnnRoll complex64 扩展设计文档:04_tasks/01_community-task-2026/tasklist/03-1-Roll/Twilight-Fanyi/docs/design.md设计内容覆盖:
DataCopyPad尾块处理改动类型 / Change Type
关联 Issue / Related Issues
测试信息 / Testing
检查清单 / Checklist