news
3

Rather than reading pre-generated random values from memory, the post describes producing pseudorandom numbers on the GPU on the fly by running a simple counter through a cryptographic cipher (CTR-mode-style encryption), so each output looks random while being derived from nothing more than an incrementing index. The appeal is bandwidth: because nothing has to be stored or fetched, the approach trades cheap arithmetic for expensive memory traffic — a worthwhile win on GPUs, where memory movement dominates cost. The author's tagline, "Save on memory traffic. Save save save!", underscores that bandwidth, not compute, is the bottleneck being optimized.
Comments
0Discuss on Hacker NewsOnly full members can comment
Log in to express your opinion.
No comments yet.