A Framework for Sparse Matrix Code Synthesis from High-level Specifications

Nawaaz Ahmed, Nikolay Mateev, Keshav K. Pingali et al. · Proceedings - Supercomputing · 2000

We present compiler technology for synthesizing sparse matrix code from (i) dense matrix code, and (ii) a description of the index structure of a sparse matrix. Our approach is to embed statement instances into a Cartesian product of statement iteration and data spaces, and to produce efficient sparse code by identifying common enumerations for multiple references to sparse matrices. The approach works for imperfectly-nested codes with dependences, and produces sparse code competitive with hand-written library code for the Basic Linear Algebra Subroutines (BLAS).

Cited by 15 works. doi:10.1109/sc.2000.10033

Authors

References