Skip to content

Commit

Permalink
Renable evt_index
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Feb 15, 2024
1 parent 44b0f22 commit 7ce840a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions arbor/backends/event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ struct has_event_index<deliverable_event> : public std::true_type {};
// Subset of event information required for mechanism delivery.
struct deliverable_event_data {
// cell_local_size_type mech_id; // same as target_handle::mech_id
// cell_local_size_type mech_index; // same as target_handle::mech_index
cell_local_size_type mech_index; // same as target_handle::mech_index
float weight;
deliverable_event_data(cell_local_size_type id, cell_local_size_type idx, float w):
// mech_id(id),
// mech_index(idx),
mech_index(idx),
weight(w) {}
ARB_SERDES_ENABLE(deliverable_event_data,
// mech_id,
// mech_index,
mech_index,
weight);
};

Expand Down
3 changes: 0 additions & 3 deletions arbor/backends/gpu/event_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

// Indexed collection of pop-only event queues --- CUDA back-end implementation.

#include "backends/event_stream_base.hpp"
#include "memory/memory.hpp"
#include "util/partition.hpp"
#include "util/range.hpp"
#include "util/rangeutil.hpp"
#include "util/transform.hpp"
#include "threading/threading.hpp"
Expand Down
2 changes: 0 additions & 2 deletions test/unit/test_fvm_lowered.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,6 @@ TEST(fvm_lowered, point_ionic_current) {

// Only one target, corresponding to our point process on soma.
double ica_nA = 12.3;
deliverable_event ev = {0.04, target_handle{0, 0}, (float)ica_nA};

std::vector<pse_vector> events{{{0, 0.04, (float)ica_nA}}};
auto lanes = util::subrange_view(events, 0, events.size());

Expand Down

0 comments on commit 7ce840a

Please sign in to comment.