Bit twiddling floats and reading papers to generate random numbers on GPU @sphaerophoria
Bit twiddling floats and reading papers to generate random numbers on GPU  @sphaerophoria
Uploaded August 2025 | Updated November 2026, 3 hours ago
My food tracker needs a barcode scanner, my barcode scanner "needs" a neural network. Neural network training needs data. Data needs random numbers, oh no.

Please consider supporting. This content WILL end some day, but every dollar I make pushes that day further out

Join on youtube for happy hour vods youtube.com/channel/UCXzL31BCxf8En1KT34gSK6g/join
Or on patreon patreon.com/sphaerophoria
Or on twitch twitch.tv/sphaerophoria
Or sponsor me on github (no benefits) github.com/sponsors/sphaerophoria

00:00 Intro
03:40 Parallel random number generation
57:50 Normalize
01:21:15 Gaussian distribution
01:37:50 Visualize gaussian noise
Bit twiddling floats and reading papers to generate random numbers on GPUI invented client-side server-side-renderingWheres the emoji? There he is!Zig on a microcontrollerWriting a WASM populated calendar widget (surprisingly not that bad)Reverse engineering megabonk to see if my build is goodControlling spotify with no librariesBackwards is a lot like forwards with a swizzle in your stepParsing our first dbus responseFinally trying zig 0.15Neural network training just gives up sometimesA hot take I guess...
sphaerophoria |

Bit twiddling floats and reading papers to generate random numbers on GPU

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER