已关闭
[Bug-Report|缺陷反馈]: 修改scatterNdUpdate算子负索引引起溢出问题 #2400
xingtaowu创建于  4月28日关闭于  5月11日
xingtaowu成员
4月28日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

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

当从GetSpr寄存器(AR)获取的值为零或负数时,计算唯一ID数量的逻辑可能导致uniqueIdNum变量下溢,产生溢出数据,导致后续计算循环取出非法值,导致aic error

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

Ascend950

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

构造indices 值全为-1 时,例如[-1,-1,-1]

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

indices 值越界或者负索引都能正常执行,不能aic error

errcode:(263, 95) errorStr: CCU instruction address check error.The DDR address of the MTE instruction is out of range. subErrType: 0x4.

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

likedislike
Xxingtaowu成员
4月28日 添加了label:bug-report
xingtaowu成员
4月28日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
4月28日 将 xingtaowu 设为负责人
CANN-robotCANN-robot成员
5月11日 关闭了 issue
CANN-robotCANN-robot成员
5月12日 添加了label:resolved