-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate spike_dilutor
and prohibit its use with multiple threads
#2375
Conversation
with threads. Use with threads is now prevented by a check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, except for a minor clarification in the test documentation.
Co-authored-by: Håkon Bakke Mørk <hakon.mork@nmbu.no>
…lator.git into fix-2052-dilutor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@heplesser: can you please fix the conflicts? Thanks! |
…fix-2052-dilutor Conflicts: doc/userdoc/release_notes/index.rst doc/userdoc/release_notes/v3.1/index.rst
Pull request automatically marked stale! |
spike_dilutor
and prohibit its use with multiple threads
resolved conflict
spike_dilutor
is a variant of a parrot neuron which probabilistically forwards spikes. Each target neuron receives a different thinned spike train. Therefore,spike_dilutor
needs to sendDSSpikeEvent
s and is implemented as aStimulationDevice
. This conflicts, though, with the fact that the node also needs to receive spikes, leading to incorrect behavior when used with multiple threads (#2052).At the same time,
bernoulli_synapse
implements exactly the same functionality in a proper, i.e., synapse, not pseudo-neuron, based way. This PR thereforespike_dilutor
spike_dilutor
with multiple threadsbernoulli_synapse
as alternative.This fixes #2052.