arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.10391cs.PLcs.MS
收藏

MOM:MLIR中的矩阵运算

MOM: Matrix Operations in MLIR

Lorenzo Chelini, Henrik Barthels, Paolo Bientinesi, Marcin Copik, Tobias Grosser, Daniele G. Spampinato

摘要:

在用于密集线性代数计算的代码生成器中的现代研究已经显示出产生优化代码的能力,其性能与领域专家的最新实现相比并且通常超过领域专家的最新实现。然而,底层基础设施通常是孤立开发的,使得逻辑上可组合的系统的互连变得复杂,如果不是不可能的话。在本文中,我们建议利用MLIR作为一个统一的编译器基础设施,密集的线性代数运算的优化。我们提出了一个新的MLIR方言表达线性代数计算,包括矩阵属性,使高层次的算法转换。这种新方言在MLIR中的集成通过转换到框架已经提供的现有较低级别方言来实现矩阵计算的端到端编译。

英文摘要:

Modern research in code generators for dense linear algebra computations has shown the ability to produce optimized code with a performance which compares and often exceeds the one of state-of-the-art implementations by domain experts. However, the underlying infrastructure is often developed in isolation making the interconnection of logically combinable systems complicated if not impossible. In this paper, we propose to leverage MLIR as a unifying compiler infrastructure for the optimization of dense linear algebra operations. We propose a new MLIR dialect for expressing linear algebraic computations including matrix properties to enable high-level algorithmic transformations. The integration of this new dialect in MLIR enables end-to-end compilation of matrix computations via conversion to existing lower-level dialects already provided by the framework.

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

↑