Topic

Compiler Optimization

All digests tagged Compiler Optimization

Suggested route

Topic journey

Move from earlier context through the available material to the newest signals. This route is a reading aid, not a difficulty ranking.

Start here

Lecture 112: Production Megakernels for Real-World Inference Aug 19, 2026 · 58:05 Mega kernels fuse entire forward passes into one persistent kernel, eliminating traditional GPU overheads like global synchronization and SRAM clearing. This enables fine-grained scheduling by allowing cores to dynamically pick up slack from slower units.

Build context

Proving Kernels Correct Instead of Testing Them Sep 11, 2026 · 44:41 The talk details how formal verification proves GPU kernel correctness instead of testing it. By operating at the PTX level and using SMT solvers, it addresses issues like reward hacking and non-determinism inherent in AI-generated code. Lecture 116: GPU Kernel Formal Verification Sep 18, 2026 · 30:35 Formal verification is crucial for guaranteeing the correctness of AI-generated GPU kernels. The speaker details how tools like Tatwa prove semantic equivalence by decomposing tensor operations into scalar math primitives for solvers like Z3.

Recent signals

Lecture 117:Building a GPU Compiler from Scratch Oct 9, 2026 · 54:01 Learn how progressive IR lowering transforms PyTorch layers into efficient GPU kernels. We explore the compiler stack: PyTorch $\rightarrow$ Tensor AR $\rightarrow$ Loop IR $\rightarrow$ Tile IR $\rightarrow$ CUDA, detailing fusion, normalization, and tiling for maximum performance. Building a GPU Compiler from Scratch: Lowering PyTorch Graphs to CUDA via Multi-Level IRs Oct 8, 2026 · 53:59 Learn how ML compilers progressively lower PyTorch graphs to efficient CUDA kernels. We explore the IR stack: from PyTorch to Loop IR, Tiling, and Kernel IR, detailing fusion and scheduling. GPU Kernel Formal Verification Sep 18, 2026 · 34:39 The talk presents formal verification for AI-generated GPU kernels, detailing how tools like Tatwa use Z3 solvers to prove semantic equivalence between reference and optimized kernels, moving beyond the limitations of traditional testing.

Browse view