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

Upgrade RNG #144

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Upgrade RNG #144

wants to merge 3 commits into from

Conversation

kernfel
Copy link
Contributor

@kernfel kernfel commented Jan 24, 2022

This is to track progress on #142. So far, the necessary changes seem fairly limited, but I admit I may be missing something. In any case, this isn't quite stage-ready yet:

  • Due to a possible bug (or unsupported feature?) in GeNN (Per-synapse RNGs genn-team/genn#497), rand[n] calls in synaptic code is broken
  • Definitions of _rand[n] in support code is still being produced, there's probably a way to turn that off]
  • PoissonInput implementation is unchanged, since it sits in support code, where GeNN does not translate $(gennrand_***) into something more useful.

I am seeding both the gennrand/cuda RNG for use on device,
and the randomkit RNG for use on host.
@kernfel
Copy link
Contributor Author

kernfel commented Jan 25, 2022

  • Seeds are still generated and considered part of model state.

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