Code Synthesis for Sparse Tensor Format Conversion and Optimization
Many scientific applications compute using sparse data and store that data in a variety of sparse formats because each format has unique space and performance benefits. Optimizing applications that use sparse data involves translating the sparse data into the chosen format and transforming the computation to iterate over that format. This paper presents a formal definition of sparse tensor formats and an automated approach to synthesize the transformation between formats.
This approach is unique in that it supports ordering constraints not supported by other approaches and synthesizes the transformation code in a high-level intermediate representation suitable for applying composable transformations such as loop fusion and temporary storage reduction.
We demonstrate that the synthesized code for COO to CSR with optimizations is 2.85x faster than TACO, Intel MKL, and SPARSKIT while the more complex COO to DIA is 1.4x slower than TACO but faster than SPARSKIT and Intel MKL using the geometric average of execution time.
Mon 27 FebDisplayed time zone: Eastern Time (US & Canada) change
10:00 - 12:00 | Session 1 -- It's all about loops!Main Conference at Montreal 1-2-3 Chair(s): Rodrigo C. O. Rocha University of Edinburgh | ||
10:00 26mTalk | Code Generation for In-Place Stencils Main Conference Mohamed Essadki ONERA, Bertrand Michel ONERA, Bruno Maugars ONERA, Oleksandr Zinenko Google, Nicolas Vasilache Google, Albert Cohen Google DOI | ||
10:26 26mTalk | To Pack or Not to Pack: A Generalized Packing Analysis and Transformation Main Conference Caio Salvador Rohwedder University of Alberta, Nathan Henderson University of Alberta, João P. L. De Carvalho University of Alberta, Yufei Chen University of Alberta, Jose Nelson Amaral University of Alberta DOI | ||
10:52 26mTalk | Code Synthesis for Sparse Tensor Format Conversion and Optimization Main Conference Tobi Popoola Boise State University, Tuowen Zhao University of Utah, Aaron St. George Boise State University, Kalyan Bhetwal Boise State University, Michelle Strout University of Arizona, Mary Hall University of Utah, Catherine R. M. Olschanowsky Boise State University DOI | ||
11:18 26mTalk | Looplets: A Language for Structured Coiteration Main Conference Willow Ahrens Massachusetts Institute of Technology, Daniel Donenfeld Massachusetts Institute of Technology, Fredrik Kjolstad Stanford University, Saman Amarasinghe Massachusetts Institute of Technology DOI |