已合并
fix(Pass): Revise the tile expansion logic of index_add #1898
Catherie创建于 3月23日
fix(Pass): Revise the tile expansion logic of index_add #1898
已合并
Catherie创建于 3月23日
Catherie
Catherie成员
3月23日

fix(Pass): Revise the tile expansion logic of index_add
https://gitcode.com/cann/pypto/issues/600

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Catherie 的贡献)
CatherieCatherie成员
3月23日 创建了 pull request,commit 42ec950a
CatherieCatherie成员
3月23日 关联了issue:[Task|任务跟踪]: 增加pass编译性能优化的skill
CANN-robot
CANN-robot成员
3月23日 评论:

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/pypto ✅ zhangyuebing, cam_bxh (2/2) ✅ zhangyuebing (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
Catherie
Catherie成员
3月23日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月23日 将cam_bxh,dai-zhentao,zhangqi-chen,jiawei_zhuang,gguuaanngg,DCGDDD,syfeng,jason_yuan_ye,foundea,hw_zhangzhiqi,yinjie27_,lyfne,zhangyuebing,tsungl4,gaoxingwang,zhoubotcam,wcwxy,linjiashu,poursoul,WenboCodes设为评审人
CANN-robot
CANN-robot成员
3月23日 评论:

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

likedislike
CANN-robotCANN-robot成员
3月23日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月23日 将cam_bxh,dai-zhentao,zhangqi-chen,jiawei_zhuang,gguuaanngg,DCGDDD,syfeng,jason_yuan_ye,foundea,hw_zhangzhiqi,yinjie27_,lyfne,zhangyuebing,tsungl4,gaoxingwang,zhoubotcam,wcwxy,linjiashu,poursoul,WenboCodes设为审查人
CANN-robotCANN-robot成员
3月23日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月23日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_clang ✅ SUCCESS
UT_Test_Cpp_make_gnu ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
Smoke_A900 ✅ SUCCESS >>>>> >>>>>

[2026-03-23 21:58:39]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月23日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月23日 添加了label:ci-pipeline-passed
CatherieCatherie成员
3月24日 预合并成功(commit_id: 83210fa0368ee04029c08d73644cd51b48cb5e33)
CatherieCatherie成员
3月24日 强制推送  26 个提交:4c193316-25 commits from branch master,e0017f3e-Revise the tile expansion logic of index_add
CatherieCatherie成员
3月24日 预合并成功(commit_id: ae54347363a44a2c89917c2d3a739527ba618014)
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
3月24日 评论:

Notification

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

likedislike
CANN-robot
CANN-robot成员
3月24日 评论:

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

likedislike
CatherieCatherie成员
3月24日 修改了pull request 的描述
CatherieCatherie成员
3月24日 关联了里程碑:0.2.0
Catherie
Catherie成员
3月24日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月24日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_clang ✅ SUCCESS
UT_Test_Cpp_make_gnu ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
Smoke_A900 ✅ SUCCESS >>>>> >>>>>

[2026-03-24 20:38:55]    CI执行结束

likedislike
CatherieCatherie成员
3月24日 修改了pull request 的描述
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-passed
CatherieCatherie成员
3月24日 修改了pull request 的描述
zhangxiangjie
zhangxiangjie成员3月24日进行代码检视3
framework/src/interface/operation/vector/indexing.cpp
已过期
@@ -138,2 +153,3 @@
138- // srcInput在axis的维度=indicesInput的维度,且可能比selfInput.shape[axis]大
153+ 
154+ // 非 axis 维度正常切分
139155 for (int i = 0; i < indexaddPara.srcInput->GetShape()[cur]; i += tmpTile) {
zhangxiangjie
zhangxiangjie3月24日评论:

i不应该是int类型,shape和tmpTile都是int64_t类型,下面offset也是int64_t类型

likedislike
System
系统消息系统
3月24日 评论:

changed this line on 3e83cb29 view diff detail

likedislike
Catherie
Catherie成员
3月24日 评论:

已修改

likedislike
CatherieCatherie成员
3月24日 预合并成功(commit_id: 49139bc5595b38d6fcc0c6a7adf847197c407876)
CatherieCatherie成员
3月24日 强制推送  1 个提交:3e83cb29-Revise the tile expansion logic of index_add
CatherieCatherie成员
3月24日 预合并成功(commit_id: 2ea8721f52f07b776f2fed3c46e70f37be5f78a3)
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
3月24日 评论:

Notification

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

likedislike
CANN-robot
CANN-robot成员
3月24日 评论:

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

likedislike
Catherie
Catherie成员
3月24日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月24日 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test_Py3_ninja_simulation ✅ SUCCESS
UT_Test_Py3_ninja ✅ SUCCESS
UT_Test_Cpp_make_clang ✅ SUCCESS
UT_Test_Cpp_make_gnu ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_1 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_2 ✅ SUCCESS
UT_Test_Cpp_make_gnu_part_3 ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>
Smoke_A900 ✅ SUCCESS >>>>> >>>>>

[2026-03-24 22:08:11]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月24日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月24日 添加了label:ci-pipeline-passed
zhangxiangjiezhangxiangjie成员
3月25日 解决了最后一个问题
zhangxiangjie
zhangxiangjie成员
3月25日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
3月25日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangxiangjie

likedislike
zhangyuebing
zhangyuebing成员
3月25日 评论:

/approve

likedislike
CANN-robot
CANN-robot成员
3月25日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangxiangjie

likedislike
CANN-robotCANN-robot成员
3月25日 添加了label:approved
Hujun
Hujun成员
3月25日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
3月25日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
zhangxiangjie

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

Review Guide

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

likedislike
CANN-robotCANN-robot成员
3月25日 合入了pull request