Skip to content

Commit

Permalink
proper fix (#48360)
Browse files Browse the repository at this point in the history
Reenabled ext_reorder recording for TransDataLayoutFromOneDNN
  • Loading branch information
jakpiase authored Dec 8, 2022
1 parent 7dcefc4 commit f95e924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/phi/kernels/funcs/data_layout_transform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void TransDataLayoutFromOneDNN(DataLayout in_layout,
::paddle::platform::RecordEvent record_reorder(
"ext_reorder",
::paddle::platform::TracerEventType::UserDefined,
2,
1,
::paddle::platform::EventRole::kUniqueOp);
reorder_p->execute(astream, *reorder_src_memory_p, *reorder_dst_memory_p);
astream.wait();
Expand Down

0 comments on commit f95e924

Please sign in to comment.