首页> 外文OA文献 >Portable mapping of data parallel programs to OpenCL for heterogeneous systems
【2h】

Portable mapping of data parallel programs to OpenCL for heterogeneous systems

机译:异构系统将数据并行程序的可移植映射到OpenCL

摘要

General purpose GPU based systems are highly attractive as they give potentially massive performance at little cost. Realizing such potential is challenging due to the complexity of programming. This paper presents a compiler based approach to automatically generate optimized OpenCL code from data-parallel OpenMP programs for GPUs. Such an approach brings together the benefits of a clear high level-language (OpenMP) and an emerging standard (OpenCL) for heterogeneous multi-cores. A key feature of our scheme is that it leverages existing transformations, especially data transformations, to improve performance on GPU architectures and uses predictive modeling to automatically determine if it is worthwhile running the OpenCL code on the GPU or OpenMP code on the multi-core host. We applied our approach to the entire NAS parallel benchmark suite and evaluated it on two distinct GPU based systems: Core i7/NVIDIA GeForce GTX 580 and Core 17/AMD Radeon 7970. We achieved average (up to) speedups of 4.51× and 4.20× (143× and 67×) respectively over a sequential baseline. This is, on average, a factor 1.63 and 1.56 times faster than a hand-coded, GPU-specific OpenCL implementation developed by independent expert programmers.
机译:基于通用GPU的系统极具吸引力,因为它们以很少的成本即可提供潜在的巨大性能。由于编程的复杂性,实现这种潜力具有挑战性。本文提出了一种基于编译器的方法,该方法可从用于GPU的数据并行OpenMP程序自动生成优化的OpenCL代码。这种方法结合了清晰的高级语言(OpenMP)和新兴标准(OpenCL)的优势,适用于异构多​​核。我们方案的主要特点是,它利用现有的转换(尤其是数据转换)来提高GPU架构的性能,并使用预测模型来自动确定是否值得在GPU上运行OpenCL代码或在多核主机上运行OpenMP代码。我们将这种方法应用于整个NAS并行基准测试套件,并在两个不同的基于GPU的系统上进行了评估:Core i7 / NVIDIA GeForce GTX 580和Core 17 / AMD Radeon7970。我们实现了(最高)4.51倍和4.20倍的平均加速。 (143倍和67倍)分别位于顺序基线上。平均而言,这比独立专家程序员开发的手动编码的,特定于GPU的OpenCL实现要快1.63倍和1.56倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号