| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test: add missing foreach ut coverage Co-authored-by: caoliwen<cazeroliwen@gmail.com> # message auto-generated for no-merge-commit merge: !4264 merge issue-2109-ut into master test: add missing foreach ut coverage Created-by: cazerozelrtc Commit-by: caoliwen Merged-by: cann-robot Description: ## 描述 修复 issue #2109 中 foreach 模块 UT 缺失扫描问题。 本次改动不涉及算子计算逻辑和 kernel 实现,主要处理 UT 路径和UT 覆盖。 主要修改: 1. 将 issue 中列出的 12 个 foreach API UT 从 tests/ut/op_host 移动到 tests/ut/op_api: - foreach_add_list - foreach_add_scalar - foreach_addcdiv_scalar - foreach_addcmul_scalar - foreach_div_scalar - foreach_maximum_scalar - foreach_minimum_scalar - foreach_mul_scalar - foreach_pow_scalar - foreach_round_off_number - foreach_sub_list - foreach_sub_scalar 2. 为上述 12 个 tests/ut/op_api 目录补充 CMakeLists.txt,保证 test_aclnn_*_v2.cpp 能被 API UT 编译系统收集。 3. 为 foreach_utils 补充 infershape / tiling UT: - test_foreach_utils_infershape.cpp - test_foreach_utils_tiling.cpp ## 关联的Issue 关联 Issue #2109 ## 测试 在 A2/910B3 环境,使用 ascend910b 验证 issue #2109 相关 foreach UT 范围。 编译命令: bash bash build.sh -u --opapi --ophost \ --ops=foreach_add_list,foreach_add_scalar,foreach_addcdiv_scalar,foreach_addcmul_scalar,foreach_div_scalar,foreach_maximum_scalar,foreach_minimum_scalar,foreach_mul_scalar,foreach_pow_scalar,foreach_round_off_number,foreach_sub_list,foreach_sub_scalar,foreach_utils \ --soc=ascend910b --noexec -O0 -j8 执行结果: text nn_op_host_ut:63/63 通过 nn_op_api_ut:76/76 通过 ## 文档更新 无文档更新。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:UT 补充 / UT 路径规范化 See merge request: cann/ops-nn!4264 | 4 个月前 | |
test: add missing foreach ut coverage Co-authored-by: caoliwen<cazeroliwen@gmail.com> # message auto-generated for no-merge-commit merge: !4264 merge issue-2109-ut into master test: add missing foreach ut coverage Created-by: cazerozelrtc Commit-by: caoliwen Merged-by: cann-robot Description: ## 描述 修复 issue #2109 中 foreach 模块 UT 缺失扫描问题。 本次改动不涉及算子计算逻辑和 kernel 实现,主要处理 UT 路径和UT 覆盖。 主要修改: 1. 将 issue 中列出的 12 个 foreach API UT 从 tests/ut/op_host 移动到 tests/ut/op_api: - foreach_add_list - foreach_add_scalar - foreach_addcdiv_scalar - foreach_addcmul_scalar - foreach_div_scalar - foreach_maximum_scalar - foreach_minimum_scalar - foreach_mul_scalar - foreach_pow_scalar - foreach_round_off_number - foreach_sub_list - foreach_sub_scalar 2. 为上述 12 个 tests/ut/op_api 目录补充 CMakeLists.txt,保证 test_aclnn_*_v2.cpp 能被 API UT 编译系统收集。 3. 为 foreach_utils 补充 infershape / tiling UT: - test_foreach_utils_infershape.cpp - test_foreach_utils_tiling.cpp ## 关联的Issue 关联 Issue #2109 ## 测试 在 A2/910B3 环境,使用 ascend910b 验证 issue #2109 相关 foreach UT 范围。 编译命令: bash bash build.sh -u --opapi --ophost \ --ops=foreach_add_list,foreach_add_scalar,foreach_addcdiv_scalar,foreach_addcmul_scalar,foreach_div_scalar,foreach_maximum_scalar,foreach_minimum_scalar,foreach_mul_scalar,foreach_pow_scalar,foreach_round_off_number,foreach_sub_list,foreach_sub_scalar,foreach_utils \ --soc=ascend910b --noexec -O0 -j8 执行结果: text nn_op_host_ut:63/63 通过 nn_op_api_ut:76/76 通过 ## 文档更新 无文档更新。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:UT 补充 / UT 路径规范化 See merge request: cann/ops-nn!4264 | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 个月前 | ||
| 4 个月前 |