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

[REVIEW] mdspan-ify several raft::random rng functions #857

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

mhoemmen
Copy link
Contributor

Add overloads taking the output vector as mdspan, of the following raft::random functions:

  • normal
  • lognormal
  • uniform
  • gumbel
  • logistic
  • exponential
  • rayleigh
  • laplace

I plan to finish the remaining raft::random functions as part of this PR. However, this PR should be ready to merge now.

@github-actions github-actions bot added the cpp label Sep 29, 2022
@mhoemmen mhoemmen added feature request New feature or request non-breaking Non-breaking change labels Sep 29, 2022
Add overloads taking the output vector as mdspan,
of the following raft::random functions:

* normal
* lognormal
* uniform
* gumbel
* logistic
* exponential
* rayleigh
* laplace
@mhoemmen mhoemmen force-pushed the mdspanify-random-rest branch from 7ab6045 to e855198 Compare September 29, 2022 02:40
@mhoemmen mhoemmen marked this pull request as ready for review September 29, 2022 02:41
@mhoemmen mhoemmen requested a review from a team as a code owner September 29, 2022 02:41
@mhoemmen mhoemmen changed the title [WIP] mdspan-ify several raft::random rng functions [REVIEW] mdspan-ify several raft::random rng functions Sep 29, 2022
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

This looks great, Mark. Thanks again!

@cjnolet
Copy link
Member

cjnolet commented Sep 29, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 2e98138 into rapidsai:branch-22.10 Sep 29, 2022
@mhoemmen mhoemmen deleted the mdspanify-random-rest branch September 29, 2022 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp feature request New feature or request non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants