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

[oneMKL][RNG] Extend parameter type for random distributions #557

Merged
merged 5 commits into from
Aug 22, 2024

Conversation

andreyfe1
Copy link
Contributor

It was found that it's not necessary to make implementors use std::vector as a parameter type for gaussian_mv, multinomial, poisson_v distributions. They can also use std::array or std::view for example to pass data to distribution. This PR relaxes requirement for such parameter types.

Feel free to share your feedback

Copy link
Contributor

@aelizaro aelizaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @andreyfe1, I like this change!

@andreyfe1 andreyfe1 added the MKL label Jul 31, 2024
@andreyfe1
Copy link
Contributor Author

Please, provide your feedback till August 22. After that PR will be merged if there are no concerns

@andreyfe1 andreyfe1 merged commit 72362f3 into uxlfoundation:main Aug 22, 2024
3 checks passed
@andreyfe1 andreyfe1 deleted the rng_distr_ctors branch August 28, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants