From f95e92452050c5a86c1764c8c9df211b7b44238c Mon Sep 17 00:00:00 2001 From: jakpiase Date: Thu, 8 Dec 2022 09:40:17 +0100 Subject: [PATCH] proper fix (#48360) Reenabled ext_reorder recording for TransDataLayoutFromOneDNN --- paddle/phi/kernels/funcs/data_layout_transform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/phi/kernels/funcs/data_layout_transform.cc b/paddle/phi/kernels/funcs/data_layout_transform.cc index b11e766e0e..5d7d397402 100644 --- a/paddle/phi/kernels/funcs/data_layout_transform.cc +++ b/paddle/phi/kernels/funcs/data_layout_transform.cc @@ -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(); -- GitLab