brian2genn icon indicating copy to clipboard operation
brian2genn copied to clipboard

Upgrade RNG

Open kernfel opened this issue 3 years ago • 1 comments

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 (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.

kernfel avatar Jan 24 '22 08:01 kernfel

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

kernfel avatar Jan 25 '22 02:01 kernfel