Pith. sign in

Improving Locality in Sparse and Dense Matrix Multiplications

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

Consecutive matrix multiplications are commonly used in graph neural networks and sparse linear solvers. These operations frequently access the same matrices for both reading and writing. While reusing these matrices improves data locality, it presents a challenge due to the irregular dependencies between iterations across the two multiplication operations. Existing fusion methods often introduce excessive synchronization overhead or overlapped computations with limited benefits. This paper proposes tile fusion, a runtime approach that fuses tiles of the two matrix-matrix multiplications, where at least one of the involved matrices is sparse. Tile fusion aims to improve data locality while providing sufficient workload for cores in shared-memory multi-core processors. For a pair of matrix-matrix multiplications, tile fusion outperforms unfused baseline and MKL implementations with a geometric mean speedup of 1.97$\times$ 1.64$\times$, respectively, on multi-core CPUs.

citation-role summary

background 1

citation-polarity summary

fields

cs.PL 1

years

2025 1

verdicts

CONDITIONAL 1

roles

background 1

polarities

unclear 1

representative citing papers

citing papers explorer

Showing 1 of 1 citing paper.

  • A Novel Compiler Transformation for Fast Sparse Matrix Multiplication in GPUs cs.PL · 2025-06-18 · conditional · none · ref 8 · internal anchor

    Enumerate-and-sparse-coarsen, a source-to-source GPU compiler transformation for sparse matrix-dense matrix multiplication, reports 1.4-2.3x speedups over cuBLAS and cuSPARSE on A100 for DLMC matrices, with the exact gains depending on per-matrix tuning.