Electronics

A Dual-Dataflow Systolic Array Architecture with Shared Resources for GEMM and GEMV

Yoonjae Lee, Wonhyeok Jang, Simyung Lee, Seongsoo Lee

Key points

From the paper's conclusion
  • We propose a dual-dataflow architecture sharing one 4×4 processing element (PE) array.

Abstract

Matrix–vector multiplication (GEMV) underutilizes systolic arrays designed for matrix–matrix multiplication (GEMM), while per-tile initialization and result stores limit GEMM with a short accumulation dimension (short-K GEMM). We propose a dual-dataflow architecture sharing one 4×4 processing element (PE) array. For GEMV, each PE row broadcasts inputs, and dual 256-bit load paths alternately fill two matrix register file (MRF) weight regions. MRF-based output-side accumulation alleviates the dependency of weight supply on accumulated-value preparation, and consecutive commands overlap. GEMM reuses the expanded load paths and MRF ports with the shared Packed Store to overlap operand supply and result stores, and Zero Seed skips explicit accumulation initialization; together, these reduce tile transition costs. The RTL design was synthesized in 28-nm technology. In cycle-accurate simulation of INT32 1×128×128 GEMV, the proposed design achieves a 3.89× speedup over the baseline at equal 512-bit/cycle peak load bandwidth. Widening the baseline’s bandwidth from 128 to 512 bit/cycle with unchanged dataflow yields 1.20×. Against the original 128-bit/cycle baseline, the proposed 512-bit/cycle design achieves geometric mean speedups of 5.14× across 12 evaluated GEMV and 1.20× across 12 evaluated GEMM configurations, including 1.50× across four short-K GEMM data types. Accelerator cell area increases by 24.28% over the original baseline. These results characterize matrix-operator acceleration under the evaluated conditions.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers