Adaptive sparse tiling for sparse matrix multiplication
Adaptive sparse tiling for sparse matrix multiplication
复制标题
DOI:
10.1145/3293883.3295712
复制
发表时间:
2019-02
期刊:
影响因子:
--
通讯作者:
Changwan Hong;Aravind Sukumaran-Rajam;Israt Nisa;Kunal Singh;P. Sadayappan
中科院分区:
文献类型:
--
作者:
Changwan Hong;Aravind Sukumaran-Rajam;Israt Nisa;Kunal Singh;P. Sadayappan
Tiling is a key technique for data locality optimization and is widely used in high-performance implementations of dense matrix-matrix multiplication for multicore/manycore CPUs and GPUs. However, the irregular and matrix-dependent data access pattern of sparse matrix multiplication makes it challenging to use tiling to enhance data reuse. In this paper, we devise an adaptive tiling strategy and apply it to enhance the performance of two primitives: SpMM (product of sparse matrix and dense matrix) and SDDMM (sampled dense-dense matrix multiplication). In contrast to studies that have resorted to non-standard sparse-matrix representations to enhance performance, we use the standard Compressed Sparse Row (CSR) representation, within which intra-row reordering is performed to enable adaptive tiling. Experimental evaluation using an extensive set of matrices from the Sparse Suite collection demonstrates significant performance improvement over currently available state-of-the-art alternatives.