Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove experimental::user_benchmarker #268

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading