| [v2.7.1] update dvm submodule and profiling headers
Co-authored-by: huangchengnuo<huangchengnuo1@huawei.com>
# message auto-generated for no-merge-commit merge:
!35482 merge update-dvm-profapi-v271 into v2.7.1
[v2.7.1] update dvm submodule and profiling headers
Created-by: SorryNaCN
Commit-by: huangchengnuo
Merged-by: ascend-robot
Description: <!--
PR描述模板更新日期:20260203
-->
# 【合入来源】
> DVM reshape bug 修复;CANN 9.1 profiling 头文件路径/注册兼容问题修复。
- [ ] 需求
- [x] 问题单
- [ ] issue/工单
- [x] 重构优化
- [ ] 资料更新
# 【修改方案】
1. 更新 third_party/dvm/dvm 子仓到 r2.9 最新提交,带入 DVM reshape 场景相关 bug 修复。
2. 带入 DVM 对 CANN 9.1 的 profiling 兼容修复,适配新的 profiling/prof_api.h 头文件路径及注册逻辑。
3. 在 third_party/acl/inc/profiling 下新增必要的 ACL profiling 头文件声明,仅保留当前 DVM/MLIR profiling 编译需要的 API、类型和宏定义。
4. 删除旧 third_party/acl/inc/experiment/msprof/toolchain 头文件,避免继续依赖 experiment 路径。
5. 将 MLIR launcher 中 msprof include 切换到 third_party/acl/inc/profiling 路径。
# 【资料变更】
不涉及。
# 【接口变更】
不涉及客户面可见接口变更。仅涉及仓内第三方 ACL profiling 头文件路径适配,满足 DVM 子仓使用 #include "profiling/prof_api.h" 的编译需求。
# 【功能验证】
1. 已确认仓内无旧 experiment/msprof/toolchain 引用残留。
2. 已通过最小 C++ include 编译检查,覆盖当前使用到的 Msprof API/类型声明。
3. git diff --check 通过。
# 【CheckList】
> PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]
- [x] 代码注释完备,正确记录错误日志(不涉及)
- [x] 代码实现进行了返回值、空指针等校验(不涉及)
- [ ] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等
- [ ] PR持续集成流水线(CI)执行通过,代码检查无异常
See merge request: Ascend/pytorch!35482 | 19 天前 |