Search papers, labs, and topics across Lattice.
GOMA introduces a geometric abstraction for GEMM mapping on spatial accelerators, enabling an exact analytical energy objective with O(1) evaluation. This abstraction allows the formulation of mapping selection as an integer optimization problem, guaranteeing global optimality. Experiments show GOMA improves energy-delay product by 2.24-4.24x and accelerates time-to-solution by 3.83-73.6x compared to state-of-the-art mappers across various accelerators and LLM prefill workloads.
Achieve global-optimal GEMM mapping for spatial accelerators orders of magnitude faster than existing methods by analytically modeling the mapping space geometrically.
General matrix multiplication (GEMM) on spatial accelerators is highly sensitive to mapping choices in both execution efficiency and energy consumption. However, the mapping space exhibits combinatorial explosion, which makes it extremely challenging to obtain optimal mappings within an acceptable time budget. Existing approaches typically face challenges: They often lack global-optimality guarantees and become prohibitively slow as the mapping space grows. To address these limitations, we propose \textsc{GOMA}, a geometric-abstraction-based, globally optimal GEMM mapping framework via analytical modeling, which achieves efficient solving while guaranteeing optimality. \textsc{GOMA} introduces, from first principles, a geometric abstraction for GEMM mapping, yielding an exact analytical energy objective with $O(1)$ evaluation for any given mapping. The objective is highly accurate. \textsc{GOMA} then formulates mapping selection as an integer optimization problem under hardware and mapping constraints, using the analytical energy model as the objective to automate mapping search. \textsc{GOMA} can quickly compute a global-optimal mapping for any (GEMM workload, target hardware) pair, achieving this for the first time in mapping space exploration. Experiments confirm that across representative accelerators and large language model prefill workloads, \textsc{GOMA} improves the energy--delay product (EDP) by $2.24$--$4.24\times$ over SOTA mappers, while accelerating time-to-solution by $3.83$--$73.6\times$.