You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEA]: Implement new random number generators #5679
These leave a little to be desired in either performance (either generation or advancing) or robustness in comparison to some recent developments in the field.
Furthermore, I think documentation could be improved in the following areas:
Example code of how generators are expected to be used in a parallel environment (e.g. generate/for_each).
Documentation of complexity of discard method for generators. This is critical for evaluating the performance of generators in parallel launches.
Documentation of the relative 'strength' of each generator on standardised benchmarks to help users make a selection. I suspect the current default random generator minstd would not hold up here and thus we could guide users to a stronger generator for more sensitive applications (e.g. Monte Carlo).
Closing: cuda::std::philox_engine and cuda::pcg64 are now in libcu++. The remaining documentation ideas (parallel usage examples, discard complexity, and generator quality guidance) are tracked separately.
Activity
miscco commentedon Aug 27, 2025
Thanks a lot for the suggestions.
Random number generation is definitely something we are interested in, but its also something that is relatively low priority.
Mind that we would rather move new features into
cudaaka libcu++ rather than Thrustalliepiper commentedon Sep 2, 2025
I've wanted us to have PCG for a while, it'd be a very welcome addition.
gevtushenko commentedon Oct 10, 2026
Closing:
cuda::std::philox_engineandcuda::pcg64are now in libcu++. The remaining documentation ideas (parallel usage examples, discard complexity, and generator quality guidance) are tracked separately.