For random numbers on the GPU, encrypt a counter
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
The article argues that GPU programs should generate random numbers with stateless, counter-based generators such as Philox and Threefry, which encrypt or hash a counter instead of updating per-thread state.