已关闭
[Bug-Report|缺陷反馈]:自动融合CV融合中compare这类算子数据位宽会比matmul输出类型小,stage算的时候会导致vector UB数据计算无法统一 #6088
yangzw653创建于  26 天前关闭于  26 天前
yangzw653
26 天前 创建

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

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

自动融合CV融合要融合where、compare这类算子,它的数据位宽会比matmul输出类型小,这个时候我们的stage算的时候会导致vector UB数据计算无法统一

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

Ascend 950
支持cv融合

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

自动融合,CV融合 matmul+ where、compare这类算子融合

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

计算正确,融合后与单算子比精度达到预期

现在我们要融合where、compare这类算子,它的数据位宽会比matmul输出类型小,这个时候我们的stage算的时候会导致vector UB数据计算无法统一,现在我们把每次的stage统一到处理矩阵的行

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

likedislike
Yyangzw653
26 天前 issue状态由 进行中 改变为 已确认
CANN-robotCANN-robot成员
26 天前 关闭了 issue
CANN-robotCANN-robot成员
26 天前 添加了label:resolved