计算机科学 > 程序设计语言
[提交于 2022年11月18日]
标题:Compiling Structured Tensor Algebra
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Amir Shaikhha[v1] 2022年11月18日 星期五 19:31:58 UTC