Move event wrangling from cell_group to model (#390)
* Remove `cell_group::enqueue_events` interface: `cell_group::advance` is given the events to deliver in the next epoch directly. * Implement event lane merging in `model` with stand-alone `merge_events` function. * Ensure event-delivery order is preserved across differing domain decompositions by performing a lexicographic sort over all of the `postsynaptic_spike_event` fields: fixes #385. Fixes #378.
Showing
- src/cell_group.hpp 2 additions, 19 deletionssrc/cell_group.hpp
- src/communication/communicator.hpp 6 additions, 5 deletionssrc/communication/communicator.hpp
- src/dss_cell_group.hpp 1 addition, 5 deletionssrc/dss_cell_group.hpp
- src/event_queue.hpp 15 additions, 7 deletionssrc/event_queue.hpp
- src/mc_cell_group.hpp 13 additions, 77 deletionssrc/mc_cell_group.hpp
- src/model.cpp 100 additions, 12 deletionssrc/model.cpp
- src/model.hpp 20 additions, 13 deletionssrc/model.hpp
- src/rss_cell_group.hpp 2 additions, 6 deletionssrc/rss_cell_group.hpp
- src/util/rangeutil.hpp 14 additions, 0 deletionssrc/util/rangeutil.hpp
- tests/unit/CMakeLists.txt 1 addition, 0 deletionstests/unit/CMakeLists.txt
- tests/unit/test_dss_cell_group.cpp 4 additions, 4 deletionstests/unit/test_dss_cell_group.cpp
- tests/unit/test_mc_cell_group.cpp 1 addition, 1 deletiontests/unit/test_mc_cell_group.cpp
- tests/unit/test_merge_events.cpp 115 additions, 0 deletionstests/unit/test_merge_events.cpp
- tests/unit/test_range.cpp 16 additions, 0 deletionstests/unit/test_range.cpp
- tests/unit/test_rss_cell.cpp 6 additions, 6 deletionstests/unit/test_rss_cell.cpp
- tests/validation/validate_synapses.cpp 3 additions, 5 deletionstests/validation/validate_synapses.cpp
Please register or sign in to comment