Waypoint: Analytically Modeling GEMM for CPUs
Srinidhi N, Sunanda Somwase, Hemant Kumar Chandrakant Chandavar, Eashan Dash, Varun Agrawal, Prakash Raghavendra
Key points
From the paper's conclusion- We build a new GEMM library OPAM for CPUs that uses Waypoint to automatically break down GEMM and achieve performance that matches state-of-the-art GEMM libraries and helps accelerate LLM inference on CPUs achieving $1.36 - 1.98 \times$ speedups.
Abstract
High-performance General Matrix Multiplication (GEMM) implementations rely on breaking down GEMM into carefully selected tiles to achieve peak performance. We present Waypoint, a new analytical model to automatically identify the optimal tile size for a given hardware and input matrix shape. Waypoint estimates the achievable performance for a given tile choice by capturing all the architectural effects including interactions with memory hierarchy, instruction-level parallelism, and multi-threading. Using the estimates as a proxy, we search through the space of possible tile sizes to identify the one that maximizes performance. Additionally, Waypoint helps hardware designers estimate realistic performance on experimental hardware optimizations. We build a new GEMM library OPAM for CPUs that uses Waypoint to automatically break down GEMM and achieve performance that matches state-of-the-art GEMM libraries and helps accelerate LLM inference on CPUs achieving $1.36 - 1.98 \times$ speedups.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- KABUMI: Communication-Avoiding Batched GEMM on GPUsACM Transactions on Architecture and Code Optimization · 2026
- Providing Accuracy Guarantees for the Fixed-Point Emulation of Matrix MultiplicationarXiv · 2026
- PPT-GPU 2.0: A Validated, Accurate, and Scalable Modeling of NVIDIA GPUsACM Transactions on Architecture and Code Optimization · 2026
- FP64 Performance and the Limits of Ozaki Emulation on HPC SystemsarXiv · 2026
- Taming Bitwise Behavior in GPU Kernels with Tensor Core: Black-Box Reconstruction, Compiler Enforcement, and Static VerificationarXiv · 2026
- Analytical Modeling and Optimal GPU Provisioning for Disaggregated LLM InferencearXiv · 2026