The tensor algebra compiler

By Fredrik Kjolstad, Shoaib Kamil, Stephen Chou, D. Lugato, Saman P. Amarasinghe. Proc. ACM Program. Lang., 2017

456 citations recorded by the source corpus.

Tensor algebra is a powerful tool with applications in machine learning, data analytics, engineering and the physical sciences. Tensors are often sparse and compound operations must frequently be computed in a single kernel for performance and to save memory. Programmers are left to write kernels for every operation of interest, with different mixes of dense and sparse tensors in different formats. The combinations are infinite, which makes it impossible to manually implement and optimize them all. This paper introduces the first compiler technique to automatically generate kernels for any compound tensor algebra operation on dense and sparse tensors. The technique is implemented in a C++ library called taco. Its performance is competitive with best-in-class hand-optimized kernels in popular libraries, while supporting far more tensor operations.

Subfields: Artificial Intelligence, Computational Mathematics, Hardware and Architecture

View Paper: https://www.semanticscholar.org/paper/c2e1139691c3a337831e36ee7afeab8817ab5d48

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Mohit Bansal
  3. Yoshua Bengio
  4. Karen Simonyan
  5. Jianfeng Gao
  6. Abhinav Kumar Gupta
  7. Yejin Choi
  8. Tao Lei

In Computational Mathematics

  1. Gaurav Menghani

In Hardware and Architecture

  1. Albert Cohen
  2. Nicolas Vasilache
  3. Oleksandr Zinenko
  4. Andrew Adams
  5. William S. Moses
  6. Theodoros Theodoridis
  7. Zach DeVito
  8. Priya Goyal

Citations in the corpus