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

Fix spikegenerator.cu template #194

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Fix spikegenerator.cu template #194

merged 1 commit into from
Apr 8, 2021

Conversation

denisalevi
Copy link
Member

@denisalevi denisalevi commented Nov 10, 2020

Fixes bug in periodicity (see #48) and and implement correct spikespace usage when having homogeneous delays.

Tests are running.

The spikegenerator template could be further optimized, but I am leaving this for another time (see #193).

Additional TODOs:

  • There is a test in brian2/tests/test_spikegenerator which is not marked as standalone-compatible. Implement that for cuda_standalone.
  • Write test(s) that use the spikegenerator as source of a Synapses object with homogeneous and heterogeneous delays. I didn't test at all if the spikespaces work correctly.
  • Check if advancing the circular eventspace indices in network.cu works if the spikegenerator (or a thresholder) run on a different clock dt?

EDIT 7.2021: TODOs implemented in PR #223

Fixes bug in periodicity (see #48) and makes sure the kernel works with
multiple spikespaces due to homogeneous delays. See comments in template
for potential optimizations.
@denisalevi denisalevi merged commit 5741821 into master Apr 8, 2021
denisalevi added a commit that referenced this pull request Aug 4, 2021
Adds tests from TODO list in PR #194:
- Tests from brian2's test_spikegenertor.py which where not
  'standalone-compatible'
- Test for spikegenerator eventspaces for homog. / heterog. delays
- Test for spikegenerator on a different clock (currently not passing)
@denisalevi denisalevi mentioned this pull request Aug 4, 2021
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.

1 participant