Read in order
xGeMM
Writing single-precision matrix multiplication from scratch in CUDA, one optimisation at a time, until it gets close to cuBLAS.
What I cannot create, I do not understand.
Read in order
Writing single-precision matrix multiplication from scratch in CUDA, one optimisation at a time, until it gets close to cuBLAS.
Read in any order
Standalone posts on whatever I was learning at the time, from caches and automatic differentiation to Julia and tooling. Each one stands on its own.
cudagputensor-coresjuliatoolingc
Hand-picked, if you only read a few. All writing
New to GPU programming? This series starts from a naive kernel and builds up to near-cuBLAS speed.
xGeMM: GPU Accelerated Matrix Multiplication (almost) like cuBLASAutomatic differentiation built from scratch with dual numbers, the idea behind every ML framework.
Automatic differentiation (forward mode)Why changing loop order made the same code ten times faster. A good first read if you care about performance.
A high level introduction to Cache Memories