tiny-compiler
Live explorer
One tiny tensor language, two real chips. The same program compiles to tiny-gpu or tiny-tpu.
Explore the idea.
Edit the two 2×2 matrices and compile. The result is computed in JavaScript, and the two lowerings are described. Explore the real compiler and its execution traces on the project site.
Interactive illustration · Simplified model
What it shows.
The same tensor program targets the tiny-gpu simulator and the tiny-tpu RTL.
Each lowering is checked against the same expected result, so the two targets cannot quietly disagree.
Three runs of one program.
The same expression on three inputs. Negative sums are clipped to zero by relu, which the sketch shows directly.


