Skip to content

AlgorithmsRandom example confusing and/or incorrect #1467

@Treehee

Description

@Treehee

The example in AlgorithmsRandom uses WarpSize as the input for rng.GetView. The latter however requires the number of warps, not the size of said warps. I didn't check if that particular code works, but in either case the example would be more illustrative if it actually made some attempt at computing the appropriate number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions