未验证 提交 f95e9245 编写于 作者: J jakpiase 提交者: GitHub

proper fix (#48360)

Reenabled ext_reorder recording for TransDataLayoutFromOneDNN
上级 7dcefc40
...@@ -101,7 +101,7 @@ void TransDataLayoutFromOneDNN(DataLayout in_layout, ...@@ -101,7 +101,7 @@ void TransDataLayoutFromOneDNN(DataLayout in_layout,
::paddle::platform::RecordEvent record_reorder( ::paddle::platform::RecordEvent record_reorder(
"ext_reorder", "ext_reorder",
::paddle::platform::TracerEventType::UserDefined, ::paddle::platform::TracerEventType::UserDefined,
2, 1,
::paddle::platform::EventRole::kUniqueOp); ::paddle::platform::EventRole::kUniqueOp);
reorder_p->execute(astream, *reorder_src_memory_p, *reorder_dst_memory_p); reorder_p->execute(astream, *reorder_src_memory_p, *reorder_dst_memory_p);
astream.wait(); astream.wait();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册