SC2023Top-tier venue
Runtime Composition of Iterations for Fusing Loop-carried Sparse Dependence
Kazem Cheshmi, Michelle Strout, Maryam Mehri Dehnavi
Abstract
Dependence between iterations in sparse computations causes inefficient use of memory and computation resources. This paper proposes sparse fusion, a technique that generates efficient parallel code for the combination of two sparse matrix kernels, where at least one of the kernels has loop-carried dependencies. Existing implementations optimize individual sparse kernels separately. However, this approach leads to synchronization overheads and load imbalance due to the irregular dependence patterns of sparse kernels, as well as inefficient cache usage due to their irregular memory access patterns. Sparse fusion uses a novel inspection strategy and code transformation to generate parallel fused code optimized for data locality and load balance. Sparse fusion outperforms the best of unfused implementations using ParSy and MKL by an average of 4.2× and is faster than the best of fused implementations using existing scheduling algorithms, such as LBC, DAGP, and wavefront by an average of 4× for various kernel combinations.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Adaptive Algebraic Reuse of Reordering in Cholesky Factorizations with Dynamic Sparsity Patterns cites NASOQ: numerically accurate sparsity-oriented QP solver
- SPLAT: A Framework for Optimised GPU Code-Generation for SParse reguLar ATtention cites SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning
- SPLAT: A Framework for Optimised GPU Code-Generation for SParse reguLar ATtention cites Register Tiling for Unstructured Sparsity in Neural Network Inference
- Register Tiling for Unstructured Sparsity in Neural Network Inference cites Vectorizing Sparse Matrix Computations with Partially-Strided Codelets
- Modular Construction and Optimization of the UZP Sparse Format for SpMV on CPUs cites Vectorizing Sparse Matrix Computations with Partially-Strided Codelets
- Modular Construction and Optimization of the UZP Sparse Format for SpMV on CPUs cites Register Tiling for Unstructured Sparsity in Neural Network Inference
- GALA: A High Performance Graph Neural Network Acceleration LAnguage and Compiler cites Vectorizing Sparse Matrix Computations with Partially-Strided Codelets
- GALA: A High Performance Graph Neural Network Acceleration LAnguage and Compiler cites SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning
Cited by top-tier papers4
- SPLAT: A Framework for Optimised GPU Code-Generation for SParse reguLar ATtentionAhan Gupta, Yueming Yuan, Devansh Jain, Yuhao Ge et al.OOPSLA 2025 · 3 citations
- Adaptive Algebraic Reuse of Reordering in Cholesky Factorizations with Dynamic Sparsity PatternsBehrooz Zarebavani, Danny M. Kaufman, David I. W. Levin, Maryam Mehri DehnaviSIGGRAPH 2025 · 1 citation
- Modular Construction and Optimization of the UZP Sparse Format for SpMV on CPUsAlonso Rodríguez-Iglesias, Santoshkumar T. Tongli, Emily Tucker, Louis-Noël Pouchet et al.PLDI 2025 · 1 citation
- GALA: A High Performance Graph Neural Network Acceleration LAnguage and CompilerDamitha Lenadora, Nikhil Jayakumar, Chamika Sudusinghe, Charith MendisOOPSLA 2025 · 1 citation
Builds on5
- Lessons Learned from the Chameleon TestbedKate Keahey, Jason Anderson, Zhuo Zhen, Pierre Riteau et al.USENIX ATC 2020 · 398 citations
- SparseTIR: Composable Abstractions for Sparse Compilation in Deep LearningZihao Ye, Ruihang Lai, Junru Shao, Tianqi Chen et al.ASPLOS 2023 · 86 citations
- NASOQ: numerically accurate sparsity-oriented QP solverKazem Cheshmi, Danny M. Kaufman, Shoaib Kamil, Maryam Mehri DehnaviSIGGRAPH 2020 · 29 citations
- Register Tiling for Unstructured Sparsity in Neural Network InferenceLucas Wilkinson, Kazem Cheshmi, Maryam Mehri DehnaviPLDI 2023 · 17 citations
- Vectorizing Sparse Matrix Computations with Partially-Strided CodeletsKazem Cheshmi, Zachary Cetinic, Maryam Mehri DehnaviSC 2022 · 4 citations
Related papers
- SpV8: Pursuing Optimal Vectorization and Regular Computation Pattern in SpMVChenyang Li, Tian Xia, Wenzhe Zhao, Nanning Zheng et al.DAC 2021 · 17 citations
- Compilation of Shape Operators on Sparse ArraysAlexander J. Root, Bobby Yan, Peiming Liu, Christophe Gyurgyik et al.OOPSLA 2024 · 3 citations
- ALRESCHA: A Lightweight Reconfigurable Sparse-Computation AcceleratorBahar Asgari, Ramyad Hadidi, Tushar Krishna, Hyesoon Kim et al.HPCA 2020 · 63 citations
- SpaceFusion: Advanced Deep Learning Operator Fusion via Space-Mapping GraphLiang Zhu, Jianguo Yao, Haibing GuanEuroSys 2025 · 3 citations
- Mosaic: An Interoperable Compiler for Tensor AlgebraManya Bansal, Olivia Hsu, Kunle Olukotun, Fredrik KjolstadPLDI 2023 · 16 citations
