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