PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 7, 2026Computers0 citationsOpen Access

AGP-GEMM: Adaptive Grouping and Partitioning Framework for Accelerating Small and Irregular Matrices on CPUs

View Full Paper
HZHongzhe ZhouLLLu LuHYHu Yang

Key Points

  • The aim is to enhance the performance of GEMM operations for small and irregular matrices on CPUs.
  • Proposed a core grouping mechanism to balance workloads among multi-core CPUs.
  • Developed an adaptive block partitioning algorithm for optimal tiling based on matrix dimensions.
  • Conducted experiments on the Kunpeng CPU platform to evaluate performance.
  • Achieved a peak acceleration of up to 2.1× compared to existing methods.
  • Attained an average speedup of 1.64× over the Kunpeng KML math library.
  • Demonstrated effectiveness in managing computational tasks with small and irregular matrices.

Abstract

General Matrix Multiplication (GEMM) is a fundamental computational kernel in scientific computing, serving as the foundation for numerous complex tasks. However, in practical applications, the performance of GEMM is often constrained by irregular matrix dimensions and the diversity of hardware architectures. In particular, when processing small and irregular matrices, GEMM typically exhibits reduced computational efficiency. To address these challenges, this paper proposes a GEMM acceleration method based on an adaptive core grouping strategy. The method consists of two key components: a core grouping mechanism that alleviates workload imbalance among multi-core CPUs, and an adaptive block partitioning algorithm that dynamically selects optimal tiling schemes according to the matrix dimensions, achieving both load balance and cache-friendly data access. Experimental results on the Kunpeng CPU platform demonstrate that the proposed method achieves significant performance improvements compared to the Kunpeng KML math library, reaching a peak acceleration of up to 2.1× and an average speedup of 1.64×. These results validate the effectiveness and efficiency of the proposed approach in handling small and irregular matrix computation scenarios.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhou et al. (2026) studied this question.

synapsesocial.com/papers/69d49f8ab33cc4c35a22805ehttps://doi.org/10.3390/computers15040223
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Detailed Analysis and Optimization of Irregular-Shaped Matrix Multiplication on Multi-Core DSPs2024
  2. 2FlashGEMM: Optimizing Sequences of Matrix Multiplication by Exploiting Data Reuse on CPUs2025
  3. 3Design and Optimization of GEMM for Complex Numbers on Ascend NPU2026
  4. 4SaSpGEMM: Sorting-Avoiding Sparse General Matrix-Matrix Multiplication on Multi-Core Processors2024
  5. 5SPMSD: An Partitioning-Strategy for Parallel General Sparse Matrix-Matrix Multiplication on GPU2024 · 1 citations