已关闭
[Bug-Report|缺陷反馈]: usm排序求唯一索引问题 #3906
jinpenghe创建于  7月7日关闭于  7月7日
jinpenghe
jinpenghe成员
7月7日 创建

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

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

排序模板为了提升性能会将索引进行排序去重的方式消除核内相同地址的写请求。在核内将索引sort排序、然后采用错位相见进行去重。在索引的左右两边会padding辅助值-1。但当且仅当索引全为-1时,会导致寄存器值为零,从而返回的所求唯一索引值为-1。

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

Ascend950PR

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

当且仅当索引全为-1时,会导致寄存器值为零,从而返回的所求唯一索引值为-1。

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

功能精度正常

唯一索引为-1,导致后续按唯一索引数量搬运数据coredump
image.png

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

likedislike
jinpenghejinpenghe成员
7月7日 添加了label:bug-report
jinpenghe
jinpenghe成员
7月7日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
7月7日 将 jinpenghe 设为负责人
jinpenghejinpenghe成员
7月7日 修改了issue 的描述
jinpenghejinpenghe成员
7月7日 修改标题为 “[Bug-Report|缺陷反馈]: usm排序求唯一索引问题”,原标题为“[Bug-Report|缺陷反馈]: usm排序求唯一索引为题”
CANN-robotCANN-robot成员
7月7日 关闭了 issue
CANN-robotCANN-robot成员
7月7日 添加了label:resolved