Closed
[Bug-Report|缺陷反馈]: conversion/mirror_pad UT用例失败 #4041
chenqi317Add on  15 days agoClosed at  15 days ago
chenqi317Collaborators
15 days ago Create

缺陷描述

仓名: cann/ops-math
算子名: conversion/mirror_pad
失败用例数: 1

本 issue 按算子聚合,该算子下所有失败用例统一在此跟踪,不再单独提 issue。

用例汇总

# 用例名 UT类型 失败原因 触发PR 提交人
1 MirrorPadTiling.mirror_pad_tiling_test_001 op_host tiling_case_executor.cpp:274 序列化 tiling data 期望 "1 0 0 24 3 4 ...",实际 "67633153 0 0 12 3 4 ..."。Mirr... https://gitcode.com/cann/ops-math/merge_requests/6633 focusforce

用例详情

1. MirrorPadTiling.mirror_pad_tiling_test_001

  • UT类型: op_host
  • 失败原因: tiling_case_executor.cpp:274 序列化 tiling data 期望 "1 0 0 24 3 4 ...",实际 "67633153 0 0 12 3 4 ..."。MirrorPad 复用 pad_v3 的 PadACTiling(conversion/pad_v3/op_host/arch35/pad_v3_tiling_arch35.cpp:28-31),178d50a75(MR !6633「feat:MirrorPad 适配960新特性」)在 XDtypeImprove 的 SIMT 路径中写入 improveDtypeSize_,使 conversion/pad_v3/op_kernel/arch35/pad_v3_struct.h:27 的 PadACTilingData 头部字节由 1,0,0,0 变为 1,1,8,4(第一个 int64 即 0x04080101=67633153),并连带改变 tile 尺寸字段(24→12);而 conversion/mirror_pad/tests/ut/op_host/arch35/test_mirror_pad_tiling_arch35.cpp:44 的 expectTilingData 仍是旧布局。trigger 为 178d50a75(语义触发);exposure 为空(用例一直执行,此前失败的是 workspace 断言,已随 63be43b14 的期望值更新修复)。
  • 触发提交: 178d50a7508be3b9a2d548514f23757dc5e1cc02
  • 暴露提交: 无
  • 父提交行为: 通过(父提交不写 improveDtypeSize_,序列化 tiling data 与用例期望一致)
  • 触发PR: feat:MirrorPad 适配960新特性
  • PR链接: https://gitcode.com/cann/ops-math/merge_requests/6633
  • 提交人: focusforce (gongquanchao@huawei.com)
  • 测试文件: conversion/mirror_pad/tests/ut/op_host/arch35/test_mirror_pad_tiling_arch35.cpp
[2026-11-11 02:20:15] tiling_case_executor.cpp:274: Failure
[2026-11-11 02:20:15] Expected equality of these values:
[2026-11-11 02:20:15]     Which is: "67633153 0 0 12 3 4 0 0 0 0 0 12 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "
[2026-11-11 02:20:15]     Which is: "1 0 0 24 3 4 0 0 0 0 0 24 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "

复现命令:

bash build.sh -u --opapi --ophost --cov --soc=ascend950
likedislike
CANN-robotCANN-robotCollaborators
15 days ago Close issue
CANN-robotCANN-robotCollaborators
15 days ago Added label: resolved
Cchenqi317Collaborators
14 hours ago Change title to "[Bug-Report|缺陷反馈]: conversion/mirror_pad UT用例失败", originally titled "[Bug-Report|缺陷反馈]: UT用例 MirrorPadTiling.mirror_pad_tiling_test_001 失败".
Cchenqi317Collaborators
14 hours ago Modify description of issue
CANN-robotCANN-robotCollaborators
14 hours ago changed custom state from 进行中 to 已完成