Skip to content

Commit

Permalink
Remove function
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Oct 10, 2023
1 parent 208be19 commit 1d4c58c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/targets/gpu/include/migraphx/gpu/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<hipEvent_t, hipEvent_t> get_perf_events() const
{
if(measure_perf)
Expand Down

0 comments on commit 1d4c58c

Please sign in to comment.