Skip to content

Upgrade RNG#144

Draft
kernfel wants to merge 3 commits into
brian-team:masterfrom
kernfel:upgrade_RNG
Draft

Upgrade RNG#144
kernfel wants to merge 3 commits into
brian-team:masterfrom
kernfel:upgrade_RNG

Conversation

@kernfel

@kernfel kernfel commented Jan 24, 2022

Copy link
Copy Markdown
Contributor

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

kernfel commented Jan 25, 2022

Copy link
Copy Markdown
Contributor Author
  • 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