Compiler Support for Sparse Tensor Computations in MLIR
Abstract
Sparse tensors arise in problems in science, engineering, machine learning, and data analytics. Programs that operate on such tensors can exploit sparsity to reduce storage requirements and computational time. Developing and maintaining sparse software by hand, however, is a complex and error-prone task. Therefore, we propose treating sparsity as a property of tensors, not a tedious implementation task, and letting a sparse compiler generate sparse code automatically from a sparsity-agnostic definition of the computation. This paper discusses integrating this idea into MLIR.
- Publication:
-
arXiv e-prints
- Pub Date:
- February 2022
- DOI:
- 10.48550/arXiv.2202.04305
- arXiv:
- arXiv:2202.04305
- Bibcode:
- 2022arXiv220204305B
- Keywords:
-
- Computer Science - Programming Languages
- E-Print:
- doi:10.1145/3544559