cs.DCOct 26, 2026

Waypoint: Analytically Modeling GEMM for CPUs

Authors: Srinidhi N, Sunanda Somwase, Hemant Kumar Chandrakant Chandavar, Eashan Dash, Varun Agrawal, Prakash Raghavendra

Organizations: Advanced Micro Devices, Inc. India

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×1.36 - 1.98 \times speedups.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LP-GEMM: Integrating Layout Propagation into GEMM Operations

    Apr 6, 2026César Guedes Carneiro, Lucas Alvarenga, Guido Araujo +1High-Performance Computing

  2. Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple

    Jan 22, 2026Evangelos Georganas, Alexander Heinecke, Pradeep DubeyHigh-Performance Computing