已合并
as_strided/dynamic_partition/mem_set/unpack modify codecheck #3280
csz创建于 6月11日
as_strided/dynamic_partition/mem_set/unpack modify codecheck #3280
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 csz 的贡献)6月11日 添加了label:cann-cla/yes
csz
6月11日 评论:
6月11日 评论:
compile


6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: 5219e61d1e6a45ef17d60de2e1c170ba9a8e3c98] virtual merging success
6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: 5219e61d1e6a45ef17d60de2e1c170ba9a8e3c98] virtual merging success
CANN-robot
6月11日 评论:
6月11日 评论:
CANN-robot
6月11日 评论:
6月11日 评论:
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 |
|---|---|---|
| conversion/as_strided | ✅ zhanw_coding, 宋凯 (2/2) | ✅ zhanw_coding, 宋凯 (2/1) |
| repo-cann/ops-math | ✅ 宋凯, zhanw_coding (2/2) | ✅ 宋凯, zhanw_coding (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
chengzhi1120, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月11日 添加了label:ci-pipeline-running
CANN-robot
6月11日 评论:
6月11日 评论:
流水线任务触发成功
任务链接 [bb29df1c4db7419b9c4a863aaad24694][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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 | >>>>> | >>>>> |
| Compile_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 | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-06-11 20:41:28] CI执行结束


CANN-robot
6月11日 评论:
6月11日 评论:
流水线任务触发成功
任务链接 [eeff382f212045f0b446c656b25773f4][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ 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-06-11 20:37:41] CI执行结束


6月11日 添加了label:api-check-pass
6月11日 删除了label:ci-pipeline-running
6月11日 添加了label:ci-pipeline-passed
conversion/as_strided/op_host/arch35/as_strided_tiling_arch35.cpp
@@ -483,2 +484,3 @@
483484{
484- uint64_t totalOutElement = outSize.GetShapeSize();
485+ int64_t shapeSize = outSize.GetShapeSize();
486+ uint64_t totalOutElement = static_cast<uint64_t>(shapeSize);
要判断一下是否<0,是则打印错误日志退出,>=0 再转成 uint64_t


6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: bb1e18323a10c02e9333c57f8a2d0ecf45504dd8] virtual merging success
6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: bb1e18323a10c02e9333c57f8a2d0ecf45504dd8] virtual merging success
6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: d7b458f8016670a919c4d842dac1cd34ecc9c69d] virtual merging success
6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: d7b458f8016670a919c4d842dac1cd34ecc9c69d] virtual merging success
6月11日 添加了label:stat/needs-squash
6月11日 删除了label:ci-pipeline-passed
CANN-robot
6月11日 评论:
6月11日 评论:
csz
6月11日 评论:
6月11日 评论:
compile


6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: 0c951f4391a973cd55d7bfc88b9bf106275b088a] virtual merging success
6月11日 update merge request[project id: 7649531, iid: 3280, commit_id: 0c951f4391a973cd55d7bfc88b9bf106275b088a] virtual merging success
6月11日 解决了最后一个问题
6月11日 删除了label:api-check-pass
6月11日 添加了label:ci-pipeline-running
CANN-robot
6月11日 评论:
6月11日 评论:
流水线任务触发成功
任务链接 [4ebdf873ad7046298939d26b5f4aa883][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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 | >>>>> | >>>>> |
| Compile_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 | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-06-11 21:37:06] CI执行结束


CANN-robot
6月11日 评论:
6月11日 评论:
流水线任务触发成功
任务链接 [c7c46221145b4af2bd2eed698d04287c][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ 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-06-11 21:31:04] CI执行结束


zhanw_coding
6月11日 评论:
6月11日 评论:
/lgtm
/approve


6月11日 添加了label:approved
6月11日 添加了label:api-check-pass
6月11日 删除了label:ci-pipeline-running
6月11日 添加了label:ci-pipeline-passed
songkai111
6月11日 评论:
6月11日 评论:
/lgtm
/approve


6月11日 添加了label:lgtm
6月11日 合入了pull request
描述
修复as_strided/dynamic_partition/mem_set/unpack 的codecheck问题
关联的Issue
测试
文档更新
类型标签