diff --git a/paddle/phi/kernels/funcs/data_layout_transform.cc b/paddle/phi/kernels/funcs/data_layout_transform.cc index b11e766e0e048826381716ccd3a3f2d897027633..5d7d397402dc356621597b7834e3daba20bacba0 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();