From 1d4c58c36386cd6ae1ecdb49876b066a9a9db283 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 10 Oct 2023 22:33:19 +0000 Subject: [PATCH] Remove function --- .../gpu/include/migraphx/gpu/context.hpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/targets/gpu/include/migraphx/gpu/context.hpp b/src/targets/gpu/include/migraphx/gpu/context.hpp index b28b539fe02..d36cf23e62c 100644 --- a/src/targets/gpu/include/migraphx/gpu/context.hpp +++ b/src/targets/gpu/include/migraphx/gpu/context.hpp @@ -299,23 +299,6 @@ struct context any_ptr get_queue() { return get_stream().get(); } - void enable_perf_measurement(bool b = true) - { - if(b) - { - start_event = create_event_for_timing(); - stop_event = create_event_for_timing(); - get_stream().record(start_event.get()); - get_stream().record(stop_event.get()); - } - else - { - start_event = nullptr; - stop_event = nullptr; - } - measure_perf = b; - } - std::pair get_perf_events() const { if(measure_perf)