已合并
ScatterNd修复UB空间分配和Mask创建错误 #4019
zhang-wenbo-beat创建于 4月20日
ScatterNd修复UB空间分配和Mask创建错误 #4019
已合并
zhang-wenbo-beat创建于 4月20日
zhang-wenbo-beat
zhang-wenbo-beat成员
4月20日

描述

1、Tiling中未预留strideLocal和outputLocal的空间,导致在UB中分配空间后发生aicore dump error,本次修改提前预留空间。
2、kernel中用于compare的mask使用updatemask创建导致参与计算的元素变少。修改为createMask接口。

关联的Issue

https://gitcode.com/cann/ops-nn/issues/1947

测试

预留空间后算子不再发生aicore dump, UB空间中buffer size大小符合预期。

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhang-wenbo-beat 的贡献)
zhang-wenbo-beatzhang-wenbo-beat成员
4月20日 创建了 pull request,commit 60b6d613
zhang-wenbo-beatzhang-wenbo-beat成员
4月20日 关联了issue:[Bug-Report|缺陷反馈]: 运行时 indices 边界检查错位导致错位写入与潜在越界写
CANN-robot
CANN-robot成员
4月20日 评论:

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
index gcw_kUomxQ2l, 陈琦 (2/2) gcw_kUomxQ2l (1/1)

💡 Tip:

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

CLA Signature Pass

zhang-wenbo-beat, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
4月20日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
4月20日 将crystalhu,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为评审人
此处折叠了47条消息 查看更多
CANN-robot
CANN-robot成员
4月22日 评论:

Review Guide

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

likedislike
CANN-robotCANN-robot成员
4月22日 关闭了关联的issue
CANN-robotCANN-robot成员
4月22日 合入了pull request
CANN-robot
CANN-robot成员
4月22日 评论:

Review Guide

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

likedislike
CANN-robot
CANN-robot成员
4月22日 评论:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike