Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA]: Port random number generators from cuRand to Thrust #2510

Open
1 task done
aschaffer opened this issue Oct 4, 2024 · 0 comments
Open
1 task done

[FEA]: Port random number generators from cuRand to Thrust #2510

aschaffer opened this issue Oct 4, 2024 · 0 comments
Labels
feature request New feature or request.

Comments

@aschaffer
Copy link

aschaffer commented Oct 4, 2024

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 to cuRand under all CPU-only builds (e.g. MacOS), but we'd still like to have access to its "exotic" generators that are available in cuRand 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 in cuRand; 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.

@aschaffer aschaffer added the feature request New feature or request. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Status: Todo
Development

No branches or pull requests

1 participant