GPU Puzzles (WebGPU)
Write WGSL code for GPU threads and pass each puzzle's tests
Here you write small GPU programs in WGSL, the shading language of WebGPU. Each puzzle sets how many threads run in a workgroup and how many workgroups run. You fill in the code that each thread runs, and the page checks if your result passes the tests.
Free · No login · Browser · Intermediate
About GPU Puzzles (WebGPU)
The puzzles teach you to think in parallel: how threads split up work and how each thread finds its part of the data. The site is a browser port of Sasha Rush's GPU Puzzles, which first used CUDA. It suits programmers who are new to GPU code, and it has an intro page for beginners.
The code runs on your own GPU inside the browser, so you need a browser with WebGPU support. Chrome on Windows and Mac should work. On Safari and Linux you may need to turn WebGPU on in settings.
On Breakpoint since 23 Oct 2026.
