已合并
[DFX] More detail info in op_log and support common OP_LOG. #2596
liu-jiaweikf创建于 2025年6月7日
[DFX] More detail info in op_log and support common OP_LOG. #2596
已合并
从refs/pull/2596/head合入到master
Pull Request已成功合入, 合并人@
(感谢 liu-jiaweikf 的贡献)2025年6月7日 添加了
ascend-cla/yes
标签
2025年6月7日 更新了标题
liu-jiaweikf
2025年6月7日 评论:
2025年6月7日 评论:
compile


2025年6月7日 添加了
ci-pipeline-running
标签
2025年6月7日 移除了
ci-pipeline-running
标签
此处折叠了74条消息 查看更多
op_plugin/utils/AdvancedIndex.cpp
@@ -79,3 +79,3 @@
7979 using aclGetViewShapeFuncLocal = int (*)(const aclTensor* tensor, int64_t** view_dims, uint64_t* view_dims_num);
8080 auto aclGetViewShape = reinterpret_cast<aclGetViewShapeFuncLocal>(aclGetViewShapeAddr);
81- OP_LOG(aclnnNonzeroV2, "EXEC_NPU_CMD_SYNC", self, out);
81+ OP_EXEC_LOG(aclnnNonzeroV2, "EXEC_NPU_CMD_SYNC", self, out);
为什么不加在EXEC_NPU_CMD_SYNC里面
能不能封装在op dispatch那里,通过codegen实现


op_plugin/utils/AdvancedIndex.cpp
@@ -79,3 +79,3 @@
7979 using aclGetViewShapeFuncLocal = int (*)(const aclTensor* tensor, int64_t** view_dims, uint64_t* view_dims_num);
8080 auto aclGetViewShape = reinterpret_cast<aclGetViewShapeFuncLocal>(aclGetViewShapeAddr);
81- OP_LOG(aclnnNonzeroV2, "EXEC_NPU_CMD_SYNC", self, out);
81+ OP_EXEC_LOG(aclnnNonzeroV2, "EXEC_NPU_CMD_SYNC", self, out);
为什么不加在EXEC_NPU_CMD_SYNC里面
这个东西设计的初衷是采集aclnn算子启动前适配层传输下去的信息,因此直接嵌入执行宏相对来说更加合理。aten层面的入参日志后续会有相对应的规划。


li_jing_hw
2025年6月16日 评论:
2025年6月16日 评论:
/approve


2025年6月16日 添加了
approved
标签
2025年6月16日 合并了Pull Request(通过 API 合并)
What type of PR is this?
What does this PR do / why do we need it:
Special notes for your reviewers: