The Tensor Algebra Compiler
Download all files submitted through automated deposit
Author(s) • • • •
Kjolstad, Fredrik
Kamil, Shoaib
Chou, Stephen
Lugato, David
Amarasinghe, Saman
Advisor(s)
Saman Amarasinghe
Date Issued
February 17, 2017
Series/Report no.
MIT-CSAIL-TR-2017-003
Abstract
Tensor and linear algebra is pervasive in data analytics and the physical sciences. Often the tensors, matrices or even vectors are sparse. Computing expressions involving a mix of sparse and dense tensors, matrices and vectors requires writing kernels for every operation and combination of formats of interest. The number of possibilities is infinite, which makes it impossible to write library code for all. This problem cries out for a compiler approach. This paper presents a new technique that compiles compound tensor algebra expressions combined with descriptions of tensor formats into efficient loops. The technique is evaluated in a prototype compiler called taco, demonstrating competitive performance to best-in-class hand-written codes for tensor and matrix operations.
Subjects
Tensor Algebra
Linear Algebra
Compiler
C++ Library
Terms of Use
Creative Commons Attribution 4.0 International
Persistent DSpace Link