Skip to content
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

Sort multiple run bugs #300

Merged
merged 25 commits into from
Jun 23, 2022
Merged

Sort multiple run bugs #300

merged 25 commits into from
Jun 23, 2022

Conversation

denisalevi
Copy link
Member

@denisalevi denisalevi commented Jun 13, 2022

This PR closes #83 and #86.

Follow-up issues are in #301 and #302

We were allocating new queues at each run and thereby loosing all spikes
from the previous run. Now we only allocate when needed and make sure
the spikes are not lost.
The number of eventspaces is always one more than time steps in scalar
delay.
Mostly fixing synapse generation leaks. There still seems to be a memory
leak. Not sure if that still comes from the synapse initialisation or
maybe from somewhere else (e.g. static variables in each codeobject
file?)
If there are more than 1024 delays, we still call `prepare()` with only
one block, hence we use a loop. Adapted the assert.
This reverts commit ea32da8.
The number of eventspaces is determined by all synaptic pathways from
the associated neurongroup, hence it can't be simplified!
@denisalevi denisalevi merged commit 40ee5fa into master Jun 23, 2022
@denisalevi denisalevi deleted the sort-multiple-run-bugs branch June 23, 2022 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set delay values (in seconds) only on host
1 participant