首页> 外文会议>IEEE International Conference on Computer and Communications >Language Constructs and Semantics for Runtime-independent Parallelism Expression on Heterogeneous Systems
【24h】

Language Constructs and Semantics for Runtime-independent Parallelism Expression on Heterogeneous Systems

机译:异构系统上与运行时无关的并行性表示的语言构造和语义

获取原文

摘要

The emergence of heterogeneous processors such as GPUs provide massively parallel computing power but also exacerbate the difficulties of parallel programming. Although low-level programming methods such as CUDA and OpenCL can yield good performance, the programming productivity is poor and applications lack portability. In this paper, we present a core language Ruler, which extends C with high-level parallel constructs. These constructs enable programmers to express parallelism in programs without concerning runtime details, thus ease user programming. We present the operational semantics of the language and show how these constructs reserve parallel patterns and parallelism degree of high-level applications. Those information could inform the compiler to generate efficient code and maintain the performance on different platforms. We have implemented a compiler and runtime system for Ruler on the top of OpenCL. Multiple benchmarks are rebuilt with Ruler and evaluated on both a NVIDIA GPU and an Intel MIC platform to demonstrate the effectiveness of our techniques. The size of Ruler code is only 13%-64% to that of the OpenCL code. The rebuilt benchmarks execute smoothly on both platforms after compilation, yielding a competitive performance to that of handcrafted benchmark OpenCL code on both platforms.
机译:诸如GPU之类的异构处理器的出现提供了巨大的并行计算能力,但同时也加剧了并行编程的难度。尽管诸如CUDA和OpenCL之类的底层编程方法可以产生良好的性能,但编程效率却很低,并且应用程序缺乏可移植性。在本文中,我们介绍了一种核心语言Ruler,它使用高级并行构造扩展了C。这些结构使程序员能够在程序中表达并行性而无需考虑运行时的细节,从而简化了用户编程。我们介绍了语言的操作语义,并说明了这些构造如何保留高级应用程序的并行模式和并行度。这些信息可以通知编译器生成有效的代码并维持不同平台上的性能。我们已经在OpenCL的顶部为Ruler实现了一个编译器和运行时系统。使用Ruler重建了多个基准,并在NVIDIA GPU和Intel MIC平台上进行了评估,以证明我们的技术的有效性。标尺代码的大小仅为OpenCL代码的13%-64%。编译后,重建的基准在两个平台上均能顺利执行,与两个平台上的手工基准OpenCL代码相比,具有竞争优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号