Closed
[Bug-Report|缺陷反馈]: UnsortedSegmentSum添加了过时的block_idx引用 #8888
m0_46386992Add on 5 days agoClosed at 5 days ago
5 days ago Added label: bug-report
5 days ago Close issue
5 days ago changed custom state from 待办的 to 已完成
yuning_chen
5 days ago Comments:
5 days ago Comments:
收到。block_idx 是重构后残留的过时引用,属于清理类问题:建议直接删除未使用变量并跑一遍 lint(ruff F841 会直接报出同类问题),顺手扫一遍同文件/同目录是否还有同类残留。


5 days ago Added label: resolved
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 / 必填)
不打印编译告警
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
编译时大量打印
use blockIdx.x instead [-Wdeprecated-declarations]日志信息Special notes for this issue/备注 (Optional / 选填)