From cd5115f70b7122225a651bb04284e3fa112c1e4a Mon Sep 17 00:00:00 2001 From: Aurelius84 Date: Sat, 11 Sep 2021 08:56:50 +0800 Subject: [PATCH] Clear VLOG in DeviceEvent (#35633) --- paddle/fluid/platform/device_event_base.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/paddle/fluid/platform/device_event_base.h b/paddle/fluid/platform/device_event_base.h index e018de9577b..8fe5ef9fcb1 100644 --- a/paddle/fluid/platform/device_event_base.h +++ b/paddle/fluid/platform/device_event_base.h @@ -176,7 +176,6 @@ template struct EventCreateFunctionRegisterer : public framework::Registrar { explicit EventCreateFunctionRegisterer(EventCreateFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_creator with type_id :" << type_idx; DeviceEvent::event_creator_[type_idx] = func; } }; @@ -197,7 +196,6 @@ template struct EventRecordFunctionRegisterer : public framework::Registrar { explicit EventRecordFunctionRegisterer(EventRecordFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_recorder with type_id :" << type_idx; DeviceEvent::event_recorder_[type_idx] = func; } }; @@ -218,7 +216,6 @@ template struct EventQueryFunctionRegisterer : public framework::Registrar { explicit EventQueryFunctionRegisterer(EventQueryFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_querier with type_id :" << type_idx; DeviceEvent::event_querier_[type_idx] = func; } }; @@ -239,7 +236,6 @@ template struct EventFinishFunctionRegisterer : public framework::Registrar { explicit EventFinishFunctionRegisterer(EventFinishFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_finisher with type_id :" << type_idx; DeviceEvent::event_finisher_[type_idx] = func; } }; @@ -260,7 +256,6 @@ template struct EventSetFinishedFunctionRegisterer : public framework::Registrar { explicit EventSetFinishedFunctionRegisterer(EventSetFinishedFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_finished_setter with type_id :" << type_idx; DeviceEvent::event_finished_setter_[type_idx] = func; } }; @@ -282,8 +277,6 @@ struct EventWaitFunctionRegisterer : public framework::Registrar { explicit EventWaitFunctionRegisterer(EventWaitFunction func) { auto waiter_idx = DeviceTypeToId(waiter_type); auto event_idx = DeviceTypeToId(event_type); - VLOG(3) << "register event_finisher with waiter_idx : " << waiter_idx - << ", event_idx : " << event_idx; DeviceEvent::event_waiter_[waiter_idx][event_idx] = func; } }; @@ -305,7 +298,6 @@ template struct EventResetFunctionRegisterer : public framework::Registrar { explicit EventResetFunctionRegisterer(EventResetFunction func) { auto type_idx = DeviceTypeToId(device_type); - VLOG(3) << "register event_resetter with type_id :" << type_idx; DeviceEvent::event_resetter_[type_idx] = func; } }; -- GitLab