gautam1858 / tiny-gpu-compiler
PublicAn MLIR-based compiler that takes GPU kernels and compiles them to real hardware instructions. Interactive web visualizer included.
An interactive educational tool that compiles simple GPU kernels written in a C-like language into binary instructions and simulates their execution on a tiny GPU hardware model, all viewable step-by-step in a web browser.
How It Works
You find this fun learning project online that shows how computer code turns into GPU instructions, like peeking inside a magic box.
Click the live demo link in your web browser to instantly play without installing anything—no setup needed.
Choose a ready example like adding numbers in parallel, or type your own short code in the friendly editor.
Hit compile and see your code magically break down into colorful stages, from words to numbers the GPU understands.
Press play to watch threads race through the instructions, updating memory right before your eyes.
Download and run on your computer for bigger experiments or your own data.
You now see exactly how everyday parallel code becomes lightning-fast hardware actions—aha moment achieved!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.