| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test(reduce): 适配 workspace 32B 的 Reduce 模板 UT 期望 Co-authored-by: sunzhongwen1<sunzhongwen1@huawei.com> # message auto-generated for no-merge-commit merge: !7315 merge fix/reduce-workspace-ut-32b into master test(reduce): 适配 workspace 32B 的 Reduce 模板 UT 期望 Created-by: sunzhongwen1 Commit-by: sunzhongwen1 Merged-by: cann-robot Description: ## 描述 opbase reduce 模板普通场景(groupR<=1)workspace 已整改为 32B: - base 仓 PR:https://gitcode.com/cann/opbase/pull/1142 - 已合并 commit: 49475edfeb771ac1b7c14d726be1c8269e5904a0 本 PR 同步完成两件事: 1. 将 OPBASE_TAG_ID 更新到上述 base 已合并 commit,保证线上 UT 使用 32B workspace 版本的 opbase; 2. 更新 ops-math 中 reduce 模板算子 UT 的 workspace 期望: - 6 个 op_host tiling UT 的普通场景期望由 16777216 更新为 32; - 4 个 op_kernel UT 的手写 workspace 由 16MB 更新为 32B; - groupR>1 的 group reduce 期望保持不变; - SquareSumV1 的 noop 分支仍显式调用 GetLibApiWorkSpaceSize,保持 16777216。 本 PR 与 #7305 相关:#7305 基于旧 opbase pin(普通场景返回 0)将期望改为 0,本 PR 按 workspace 32B 整改更新为 32。 涉及文件: - cmake/third_party/opbase.cmake - math/bias_add_grad/tests/ut/op_host/arch35/test_bias_add_grad_tiling.cpp - math/dot/tests/ut/op_host/arch35/test_dot_tiling_arch35.cpp - math/kl_div/tests/ut/op_host/arch35/test_kl_div_tiling.cpp - math/reduce_max/tests/ut/op_host/arch35/test_reduce_max_tiling.cpp - math/reduce_mean_with_count/tests/ut/op_host/arch35/test_reduce_mean_with_count_tiling.cpp - math/square_sum_v1/tests/ut/op_host/arch35/test_square_sum_v1_tiling.cpp - math/reduce_log_sum_exp/tests/ut/op_kernel/test_reduce_log_sum_exp.cpp - math/reduce_log_sum/tests/ut/op_kernel/arch35/test_reduce_log_sum.cpp - math/reduce_max/tests/ut/op_kernel/test_reduce_max.cpp - math/reduce_min/tests/ut/op_kernel/test_reduce_min.cpp ## 关联的Issue - #4485 - #4193 - #4192 ## 测试 本 PR 仅修改 UT 期望值及 opbase 依赖 pin,未修改算子生产代码。OPBASE_TAG_ID 已指向包含 32B workspace 整改的已合并 commit 49475edfeb771ac1b7c14d726be1c8269e5904a0,线上 UT 将基于该版本执行。 ## 文档更新 本次改动不涉及文档更新。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:Reduce 模板 UT workspace 期望适配及 base 依赖更新 See merge request: cann/ops-math!7315 | 5 天前 | |
ops-math仓A5形态ST测试 Co-authored-by: zhangxu-<zhangxu109@huawei.com> # message auto-generated for no-merge-commit merge: !2749 merge rdv_st_test into master ops-math仓A5形态ST测试 Created-by: zhangxu- Commit-by: zhangxu- Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ops-math仓A5形态ST测试 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。-->   ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!2749 | 6 个月前 |