Compiling Structured Tensor Algebra

8Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

Tensor algebra is essential for data-intensive workloads in various computational domains. Computational scientists face a trade-off between the specialization degree provided by dense tensor algebra and the algorithmic efficiency that leverages the structure provided by sparse tensors. This paper presents StructTensor, a framework that symbolically computes structure at compilation time. This is enabled by Structured Tensor Unified Representation (STUR), an intermediate language that can capture tensor computations as well as their sparsity and redundancy structures. Through a mathematical view of lossless tensor computations, we show that our symbolic structure computation and the related optimizations are sound. Finally, for different tensor computation workloads and structures, we experimentally show how capturing the symbolic structure can result in outperforming state-of-the-art frameworks for both dense and sparse tensor algebra.

Cite

CITATION STYLE

APA

Ghorbani, M., Huot, M., Hashemian, S., & Shaikhha, A. (2023). Compiling Structured Tensor Algebra. Proceedings of the ACM on Programming Languages, 7(OOPSLA2). https://doi.org/10.1145/3622804

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free