diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-03-22 00:37:47 +0100 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-04-06 07:37:17 -0400 |
commit | eb91fb04b3d0ca8124b9bea375e3bf72963fa172 (patch) | |
tree | dcf96c9e232b7019a7d81cd16901a95bda8b5471 /gnuradio-runtime/python/gnuradio/gr/bindings/buffer_python.cc | |
parent | 42349ff2855c1bb0148c8191339189b0a4cee675 (diff) |
runtime: fix gr::random API to be fixed-width 64 bit, use XOROSHIRO128+
Seeding being inconsistent between gr::random and things like fastnoise
source is an outstanding issue (#1559).
Fix that by fixing the API, and pivoting to our built-in XOROSHIRO128+,
which is also substantially faster than MT19937.
For that purpose, introduce, and python-bind, a wrapper class that can
be used with STL distribution shapers.
Add a unit test for the (P)RNG.
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/bindings/buffer_python.cc')
0 files changed, 0 insertions, 0 deletions