Skip to content

Commit

Permalink
Clean-up redundant items: files and functions. (#2410)
Browse files Browse the repository at this point in the history
Some justifications:
- power & Co: only useful on Cray, likely outdated. Use external power measurements if this is relevant.
- trace.hpp was never used and was locked_ostream's only user.
  • Loading branch information
thorstenhater authored Oct 16, 2024
1 parent 17d6f9f commit 7d1f82e
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 1,243 deletions.
4 changes: 0 additions & 4 deletions arbor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ set(arbor_sources
fvm_layout.cpp
fvm_lowered_cell_impl.cpp
hardware/memory.cpp
hardware/power.cpp
iexpr.cpp
io/locked_ostream.cpp
io/serialize_hex.cpp
label_resolution.cpp
lif_cell_group.cpp
cable_cell_group.cpp
Expand All @@ -50,7 +47,6 @@ set(arbor_sources
partition_load_balance.cpp
profile/memory_meter.cpp
profile/meter_manager.cpp
profile/power_meter.cpp
profile/profiler.cpp
schedule.cpp
spike_event_io.cpp
Expand Down
6 changes: 0 additions & 6 deletions arbor/backends/gpu/fvm.hpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#pragma once

#include <map>
#include <string>

#include <arbor/common_types.hpp>
#include <arbor/fvm_types.hpp>

#include "memory/memory.hpp"
#include "util/rangeutil.hpp"

#include "backends/event.hpp"

#include "backends/gpu/gpu_store_types.hpp"
#include "backends/gpu/shared_state.hpp"

Expand All @@ -20,7 +15,6 @@ namespace arb {
namespace gpu {

struct backend {
static bool is_supported() { return true; }
static std::string name() { return "gpu"; }

using value_type = arb_value_type;
Expand Down
1 change: 0 additions & 1 deletion arbor/backends/multicore/fvm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace arb {
namespace multicore {

struct backend {
static bool is_supported() { return true; }
static std::string name() { return "cpu"; }

using value_type = arb_value_type;
Expand Down
29 changes: 0 additions & 29 deletions arbor/hardware/power.cpp

This file was deleted.

18 changes: 0 additions & 18 deletions arbor/hardware/power.hpp

This file was deleted.

76 changes: 0 additions & 76 deletions arbor/io/locked_ostream.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions arbor/io/locked_ostream.hpp

This file was deleted.

24 changes: 0 additions & 24 deletions arbor/io/save_ios.hpp

This file was deleted.

62 changes: 0 additions & 62 deletions arbor/io/serialize_hex.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions arbor/io/serialize_hex.hpp

This file was deleted.

Loading

0 comments on commit 7d1f82e

Please sign in to comment.