| ▲ | blintz 2 hours ago | |
If you ever need a lot of cryptographically random numbers on the GPU, you can do cool lattice stuff to do high throughput PRF evaluation. Basically, you can use ‘learning with rounding’ (https://latticeassumptionzoo.org/lwr/) to make the RNG (mostly) a big matmul, which GPUs are great at. This needs to use integers, so Hopper is way better than Blackwell for it. It’s also probably not better than AES in most cases (bc of available intrinsics), but it is way more fun. | ||