The story’s score and claims

Comments on No. 108 of 111 · Hacker News · edition of Saturday 31 October 2026

GEMM Tutorial and UlmBLAS

Summary

Michael Lehn's GEMM tutorial, originally written in 2014 and now hosted on GitHub, walks through building a fast matrix multiplication without Strassen-style algorithms. Instead it relies on cache-aware blocking, copying matrix blocks into buffers, and SIMD register instructions, step by step from a naive triple loop.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules