arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.11054cs.PLcs.LG
收藏

MLIR:终结摩尔定律的更好的基础设施

MLIR: A Compiler Infrastructure for the End of Moore's Law

Google(谷歌)

Chris Lattner, Mehdi Amini, Uday Bondhugula, Albert Cohen, Andy Davis, Jacques Pienaar, River Riddle, Tatiana Shpeisman, Nicolas Vasilache, Oleksandr Zinenko

摘要:

这项工作提出了MLIR,一种新的方法来构建可重用和可扩展的编译器基础设施。MLIR旨在解决软件碎片问题,改进异构硬件的编译,显著降低构建特定领域编译器的成本,并帮助将现有编译器连接在一起。MLIR促进了不同抽象级别的代码生成器、翻译器和优化器的设计和实现,并且还跨应用领域、硬件目标和执行环境。这项工作的贡献包括:(1)讨论MLIR作为一个研究工件,为扩展和进化而构建,并确定这个新的设计点在设计,语义,优化规范,系统和工程方面所带来的挑战和机遇。(2)MLIR作为一个通用的基础设施,降低编译器的建设成本的评估-描述不同的用例,以显示未来的程序设计语言,编译器,执行环境和计算机体系结构的研究和教育机会。本文还介绍了MLIR的基本原理,它的原始设计原则,结构和语义。

英文摘要:

This work presents MLIR, a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together. MLIR facilitates the design and implementation of code generators, translators and optimizers at different levels of abstraction and also across application domains, hardware targets and execution environments. The contribution of this work includes (1) discussion of MLIR as a research artifact, built for extension and evolution, and identifying the challenges and opportunities posed by this novel design point in design, semantics, optimization specification, system, and engineering. (2) evaluation of MLIR as a generalized infrastructure that reduces the cost of building compilers-describing diverse use-cases to show research and educational opportunities for future programming languages, compilers, execution environments, and computer architecture. The paper also presents the rationale for MLIR, its original design principles, structures and semantics.

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

↑