Scalable Block-Sparse Matrix Multiplication Using Template Task Graphs

TitleScalable Block-Sparse Matrix Multiplication Using Template Task Graphs
Publication TypeConference Paper
Year of Publication2025
AuthorsSchuchart, J., A. Bouteiller, T. Herault, E. Valeev, G. Bosilca, and R. J. Harrison
EditorDiehl, P., Q. Cao, T. Herault, and G. Bosilca
Conference NameWAMTA 2025
Date Published2025-10
PublisherSpringer Nature Switzerland
Conference LocationCham
ISBN Number978-3-031-97195-2
Abstract

Block-sparse matrix operations are a special case of general sparse algebra where the matrix is sparsely populated with dense blocks, e.g., in sparse tensor algebra for quantum chemistry. One of the challenges of implementing distributed matrix multiplication C = A × B in general is the management of communication flows since both input matrices A and B are readily available and must be distributed to the processes computing the relevant blocks of C. In this paper, we propose an addition to the Template Task Graph programming model that allows applications to constrain the execution of tasks using a flexible API. We show that such constraints can be used in a pure dataflow model to replace artificial control flow with a more structured approach. In the context of sparse matrix multiplication, we found that constraints allow us to limit the number of concurrent communications and thus avoid creating a bottleneck in the network.

URLhttps://link.springer.com/10.1007/978-3-031-97196-9
DOI10.1007/978-3-031-97196-9
External Publication Flag: