[P] Built a portable GPU ISA after reading too many architecture manuals [P]
Summary
A portable GPU ISA called WAVE that compiles kernels to a common binary and translates to vendor-specific backends (Metal, PTX, HIP, SYCL), with verified results across multiple GPUs.
Similar Articles
GPU Offload in Rust: Portable, Safe, and Fast
This paper presents a zero-overhead, multi-vendor GPU compilation framework built into the Rust compiler, leveraging Rust's ownership model to ensure memory safety and achieve competitive performance with native CUDA and HIP baselines.
@seclink: A bit interesting, learn a bit...
Version 1.0 of auto-gpu-kernel has been released, a meta-harness tool that autonomously generates high-performance GPU kernels.
A hackable compiler to generate efficient fused GPU kernels for AI models [P]
The author presents a custom, hackable ML compiler written in Python that lowers LLMs to optimized CUDA kernels through a multi-stage IR pipeline, achieving performance competitive with or superior to PyTorch on specific operations. The article details the compiler's optimization passes, lowering rules, and CLI usage for generating efficient fused GPU kernels.
FMAG: A single-instruction GPU virtual machine and toolchain
FMAG is a GPU virtual machine with a single instruction (fused multiply-add with guard) that eliminates thread divergence, allowing efficient interpretation of arbitrary programs per element on the GPU. It includes a toolchain and library for writing and running such programs.
@akshay_pachaar: https://x.com/akshay_pachaar/status/2087928032904523980
An educational thread explaining how GPUs work, focusing on the memory-compute asymmetry that dominates LLM serving performance, and demonstrating how techniques like quantization, speculative decoding, and continuous batching follow from that fundamental constraint.