已关闭
[Requirement|需求建议]: rotm,rotmg,dotex适配混合容差精度验证 #321
Sun创建于  7月20日关闭于  7月20日
Sun
Sun成员
7月20日 创建

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

Backgroud(背景信息)

项目已实施新的混合容差精度标准(applyMixedTolerance),替代原有手动 MERE_MARE/EXACT/REL 精度校验模式。rotm、rotmg、dotex 三个算子的测试代码需要适配新标准:test.cpp 中使用 applyMixedTolerance 替代手动配置,CSV 中移除 mere_threshold 和 mare_multiplier 列。

Origin(信息来源)

cann 开发者

Benefit / Necessity (价值/作用)

统一精度验证标准,使三个算子的测试代码与已适配的 sbmv/spmv/symv/trmv/tbmv 等算子保持一致,便于后续维护和 CI 自动化验证。

Design(设计方案)

  1. rotm(srotm) arch35: test.cpp 中 MERE_MARE 手动配置替换为 applyMixedTolerance(cfg, ACL_FLOAT, goldenData, count);CSV 移除 mere_threshold/mare_multiplier 列。
  2. rotmg(srotmg) arch35: test.cpp 中 EXACT/MERE_MARE 模式替换为 applyMixedTolerance(cfg, ACL_FLOAT, goldenScalar);CSV 移除阈值列。
  3. dotex arch35: test.cpp 中 REL 模式替换为 applyMixedTolerance(cfg, resultType, golden)。
likedislike
SunSun成员
7月20日 添加了label:requirement
CANN-robotCANN-robot成员
7月20日 关闭了 issue
CANN-robotCANN-robot成员
7月20日 添加了label:resolved