arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.04305cs.PL
收藏

MLIR中稀疏张量计算的并行支持

Compiler Support for Sparse Tensor Computations in MLIR

Aart J. C. Bik, Penporn Koanantakool, Tatiana Shpeisman, Nicolas Vasilache, Bixia Zheng, Fredrik Kjolstad

摘要:

稀疏张量出现在科学、工程、机器学习和数据分析中。在这种张量上操作的程序可以利用稀疏性来减少存储需求和计算时间。然而,手工开发和维护稀疏软件是一项复杂且容易出错的任务。因此,我们建议将稀疏性视为张量的一个属性,而不是一个繁琐的实现任务,并让稀疏编译器从计算的稀疏不可知定义自动生成稀疏代码。本文讨论了将这一想法纳入MLIR。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑