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

Agent/HostRandom::uniform<float/double>(min, max) #776

Closed
Robadob opened this issue Jan 30, 2022 · 0 comments · Fixed by #779
Closed

Agent/HostRandom::uniform<float/double>(min, max) #776

Robadob opened this issue Jan 30, 2022 · 0 comments · Fixed by #779
Assignees

Comments

@Robadob
Copy link
Member

Robadob commented Jan 30, 2022

The Random APIs only provide the range options for integer types, a user requested we add them for floating point types too. For consistency both host and device APIs should be updated.

Whilst looking into this, noticed the user guide doesn't have any details on our Random APIs. The only note about random is for initialisation, and gives an example using standard library random.

I might also rename AgentRandom to DeviceRandom for consistency with everything else whilst I'm at it.

Requested by a user here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant