Closed
[Bug-Report|缺陷反馈]: UnsortedSegmentSum添加了过时的block_idx引用 #8888
m0_46386992Add on  5 days agoClosed at  5 days ago
m0_46386992
m0_46386992Collaborators
5 days ago Create

Describe the current behavior / 问题描述 (Mandatory / 必填)

在UnsortedSegmentSum的 index/unsorted_segment_sum/op_kernel/arch92/unsorted_segment_base_arch92.h:L80 存在过时引用问题,在动态编译阶段会爆出引用过时错误提示,需要改进

Environment Information / 环境信息 (Mandatory / 必填)

Ascend960dt, 9.3.0 cann

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

使用动态二进制模式进行算子调用

Describe the expected behavior / 预期结果 (Mandatory / 必填)

不打印编译告警

编译时大量打印use blockIdx.x instead [-Wdeprecated-declarations]日志信息

Special notes for this issue/备注 (Optional / 选填)

likedislike
m0_46386992m0_46386992Collaborators
5 days ago Added label: bug-report
CANN-robotCANN-robotCollaborators
5 days ago Close issue
CANN-robotCANN-robotCollaborators
5 days ago changed custom state from 待办的 to 已完成
yuning_chen
yuning_chenCollaborators
5 days ago Comments:

收到。block_idx 是重构后残留的过时引用,属于清理类问题:建议直接删除未使用变量并跑一遍 lint(ruff F841 会直接报出同类问题),顺手扫一遍同文件/同目录是否还有同类残留。

likedislike
CANN-robotCANN-robotCollaborators
5 days ago Added label: resolved