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

面向性能的DSL的构建块

Building-Blocks for Performance Oriented DSLs

Tiark Rompf, Arvind K. Sujeeth, HyoukJoong Lee, Kevin J. Brown, Hassan Chafi, Martin Odersky, Kunle Olukotun

摘要:

领域特定语言提高了软件开发的抽象层次。虽然很明显,程序员可以更容易地推理非常高级的程序,但只有当编译器具有应用程序域和底层目标平台的准确模型时,编译器才能做到这一点。由于将高级通用语言映射到现代异构硬件变得越来越困难,DSL是一种有吸引力的方式来利用改进的硬件性能,精确地说,是通过使编译器在更高的层次上进行推理。然而,实现高效的DSL编译器是一项艰巨的任务,迫切需要对构建面向性能的DSL的支持。为此,我们提出了Delite框架,一个可扩展的工具包,大大简化了构建嵌入式DSL和编译DSL程序在异构硬件上执行。我们详细讨论了几个构建块,并给出了在Delite上实现的OptiML机器学习DSL的实验结果。

英文摘要:

Domain-specific languages raise the level of abstraction in software development. While it is evident that programmers can more easily reason about very high-level programs, the same holds for compilers only if the compiler has an accurate model of the application domain and the underlying target platform. Since mapping high-level, general-purpose languages to modern, heterogeneous hardware is becoming increasingly difficult, DSLs are an attractive way to capitalize on improved hardware performance, precisely by making the compiler reason on a higher level. Implementing efficient DSL compilers is a daunting task however, and support for building performance-oriented DSLs is urgently needed. To this end, we present the Delite Framework, an extensible toolkit that drastically simplifies building embedded DSLs and compiling DSL programs for execution on heterogeneous hardware. We discuss several building blocks in some detail and present experimental results for the OptiML machine-learning DSL implemented on top of Delite.

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

↑