ILGPU icon indicating copy to clipboard operation
ILGPU copied to clipboard

AlgorithmsRandom example confusing and/or incorrect

Open Treehee opened this issue 4 months ago • 0 comments

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.

Treehee avatar Oct 15 '25 16:10 Treehee