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

Fixed multi-dimensional RNG number generation. #808

Merged
merged 2 commits into from
May 29, 2022
Merged

Fixed multi-dimensional RNG number generation. #808

merged 2 commits into from
May 29, 2022

Conversation

m4rs-mt
Copy link
Owner

@m4rs-mt m4rs-mt commented May 25, 2022

This PR fixes #731 by refining the way the internal RNG states are shared across warps in a thread grid. It also adds some useful helper properties to the Grid class.

@m4rs-mt m4rs-mt added the bug label May 25, 2022
@m4rs-mt m4rs-mt added this to the v1.2 milestone May 25, 2022
Copy link
Collaborator

@MoFtZ MoFtZ left a comment

Choose a reason for hiding this comment

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

ISSUE: Need to update the copyright headers.

dotnet run --configuration=Release -p:TreatWarningsAsErrors=true --project Tools/CopyrightUpdateTool

Src/ILGPU.Algorithms/Random/RNG.cs Outdated Show resolved Hide resolved
@m4rs-mt m4rs-mt force-pushed the rng branch 2 times, most recently from 576e35b to ebe0e61 Compare May 27, 2022 21:44
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.

Random doesnt work on multi dimention array
2 participants