Skip to content

Commit

Permalink
Bump spike buffer on GPU by 10x. Issue now and often requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Jan 18, 2024
1 parent e278888 commit 1e49494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbor/backends/gpu/threshold_watcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class threshold_watcher {
v_prev_(num_cv),
// TODO: allocates enough space for 10 spikes per watch.
// A more robust approach might be needed to avoid overflows.
stack_(10*size(), context.gpu)
stack_(100*size(), context.gpu)
{
crossings_.reserve(stack_.capacity());
// reset() needs to be called before this is ready for use
Expand Down

0 comments on commit 1e49494

Please sign in to comment.