...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Portable Parallel Performance from Sequential, Productive, Embedded Domain-Specific Languages
【24h】

Portable Parallel Performance from Sequential, Productive, Embedded Domain-Specific Languages

机译:顺序,高效,嵌入式领域特定语言的可移植并行性能

获取原文
获取原文并翻译 | 示例

摘要

Domain-expert productivity programmers desire scalable applica-tion performance, but usually must rely on efficiency programmers who are experts in explicit parallel programming to achieve it. Since such programmers are rare, to maximize reuse of their work we propose encapsulating their strategies in mini-compilers for domain-specific embedded languages (DSELs) glued together by a common high-level host language familiar to productivity program-mers. The nontrivial applications that use these DSELs perform up to 98% of peak attainable performance, and comparable to or better than existing hand-coded implementations. Our approach is unique in that each mini-compiler not only performs conventional compiler transformations and optimizations, but includes impera-tive procedural code that captures an efficiency expert's strategy for mapping a narrow domain onto a specific type of hardware. The result is source- and performance-portability for productivity pro-grammers and parallel performance that rivals that of hand-coded efficiency-language implementations of the same applications. We describe a framework that supports our methodology and five im-plemented DSELs supporting common computation kernels. Our results demonstrate that for several interesting classes of problems, efficiency-level parallel performance can be achieved by packaging efficiency programmers' expertise in a reusable frame-work that is easy to use for both productivity programmers and efficiency programmers.
机译:领域专家的生产力程序员希望可扩展的应用程序性能,但通常必须依靠精通并行编程专家的效率程序员来实现。由于此类程序员很少见,因此为了最大程度地重用他们的工作,我们建议将其策略封装在微型编译器中,以将特定于领域的嵌入式语言(DSEL)通过生产率程序员熟悉的通用高级宿主语言粘合在一起。使用这些DSEL的非平凡应用程序可实现高达98%的峰值可达到性能,并且与现有的手动编码实现方案相当或更好。我们的方法是独特的,因为每个微型编译器不仅执行常规的编译器转换和优化,而且还包含命令性的过程代码,这些代码捕获了效率专家将窄域映射到特定类型的硬件的策略。结果是生产力编程器和并行性能的源代码和性能可移植性,可以与相同应用程序的手工编码效率语言实现相媲美。我们描述了一个支持我们的方法的框架和五个支持常见计算内核的已实现DSEL。我们的结果表明,对于一些有趣的问题类别,可以通过将效率程序员的专业知识包装在可重用的框架中来实现效率水平的并行性能,这些框架对于生产力程序员和效率程序员均易于使用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号