[FEA]: Port random number generators from cuRand
to Thrust
#2510
Labels
feature request
New feature or request.
cuRand
to Thrust
#2510
Is this a duplicate?
Area
Thrust
Is your feature request related to a problem? Please describe.
Motivation: random number functionality in
cunumeric
. We don't have access tocuRand
under all CPU-only builds (e.g. MacOS), but we'd still like to have access to its "exotic" generators that are available incuRand
but not the STL random module; e.g., XORWOW, MRG32K3A, PHILOX4_32_10, and a couple Mersenne Twister PRNGs.Describe the solution you'd like
Specifically, we'd like to still benefit in
Thrust
from some of the more "exotic" generators incuRand
; e.g., XORWOW, MRG32K3A, PHILOX4_32_10, and a couple Mersenne Twister PRNG available there.Describe alternatives you've considered
The only option for those specific generators is, to this day,
cuRand
.Additional context
Since
Thrust
makes possible to cover GPU/CPU/OpenMP functionality just by changing the execution policy, it would be nice to get the new random generators for three different execution models, with essentially same code.The text was updated successfully, but these errors were encountered: