Bug fix: Fix voltage vector size in threshold_watcher contstructor (#1820)
Fix a crash in GPU code when threshold detector is used for the first time and its internal state is allocated with a wrong size.
Showing
- arbor/backends/gpu/fvm.hpp 3 additions, 3 deletionsarbor/backends/gpu/fvm.hpp
- arbor/backends/gpu/threshold_watcher.cu 2 additions, 2 deletionsarbor/backends/gpu/threshold_watcher.cu
- arbor/backends/gpu/threshold_watcher.hpp 12 additions, 8 deletionsarbor/backends/gpu/threshold_watcher.hpp
- arbor/backends/multicore/fvm.hpp 3 additions, 3 deletionsarbor/backends/multicore/fvm.hpp
- arbor/backends/multicore/threshold_watcher.hpp 10 additions, 7 deletionsarbor/backends/multicore/threshold_watcher.hpp
- arbor/fvm_lowered_cell_impl.hpp 1 addition, 1 deletionarbor/fvm_lowered_cell_impl.hpp
- test/unit/test_spikes.cpp 5 additions, 3 deletionstest/unit/test_spikes.cpp
Please register or sign in to comment