Skip to content

Commit

Permalink
Remove experimental::user_benchmarker
Browse files Browse the repository at this point in the history
user_benchmarker has been obsolete ever since we moved away from
structured logging as a the profiler (CPAT) interface.
  • Loading branch information
fknorr committed Aug 2, 2024
1 parent 3f10139 commit e27337d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 184 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ set(SOURCES
src/split.cc
src/task.cc
src/task_manager.cc
src/user_bench.cc
src/utils.cc
"${CMAKE_CURRENT_BINARY_DIR}/src/version.cc"
)
Expand Down
1 change: 0 additions & 1 deletion include/celerity.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "fence.h"
#include "host_utils.h"
#include "side_effect.h"
#include "user_bench.h"
#include "version.h"

namespace celerity {
Expand Down
7 changes: 0 additions & 7 deletions include/runtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

namespace celerity {

namespace experimental::bench::detail {
class user_benchmarker;
} // namespace experimental::bench::detail

namespace detail {

class host_queue;
Expand Down Expand Up @@ -47,8 +43,6 @@ namespace detail {

task_manager& get_task_manager() const;

experimental::bench::detail::user_benchmarker& get_user_benchmarker() const { return *m_user_bench; }

void create_queue();

void destroy_queue();
Expand Down Expand Up @@ -86,7 +80,6 @@ namespace detail {
std::thread::id m_application_thread;

std::unique_ptr<config> m_cfg;
std::unique_ptr<experimental::bench::detail::user_benchmarker> m_user_bench;
size_t m_num_nodes = 0;
node_id m_local_nid = 0;
size_t m_num_local_devices = 0;
Expand Down
121 changes: 0 additions & 121 deletions include/user_bench.h

This file was deleted.

5 changes: 0 additions & 5 deletions src/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "scheduler.h"
#include "system_info.h"
#include "task_manager.h"
#include "user_bench.h"
#include "version.h"

namespace celerity {
Expand Down Expand Up @@ -147,8 +146,6 @@ namespace detail {
}
#endif

m_user_bench = std::make_unique<experimental::bench::detail::user_benchmarker>(*m_cfg, m_local_nid);

cgf_diagnostics::make_available();

auto devices = std::visit(
Expand Down Expand Up @@ -262,8 +259,6 @@ namespace detail {

cgf_diagnostics::teardown();

m_user_bench.reset();

if(!s_test_mode) { mpi_finalize_once(); }
}

Expand Down
49 changes: 0 additions & 49 deletions src/user_bench.cc

This file was deleted.

0 comments on commit e27337d

Please sign in to comment.