arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.11811cs.DC
收藏

在异构系统上将OpenACC移植到OpenMP

Porting OpenACC to OpenMP on heterogeneous systems

Hichan Agueny

摘要:

本文档专为图形处理单元(GPU)编程初学者以及希望熟悉OpenACC和OpenMP卸载模型的人员而设计。在这里,我们提出了这两个编程模型以及GPU架构的概述。具体来说,我们提供了一些见解,这些模型的功能,并进行实验,涉及不同的指令,并讨论其性能。这是通过使用基于数值求解拉普拉斯方程的微型应用程序来实现的。这样的实验揭示了使用GPU的好处,在我们的例子中,表现为性能几乎提高了52倍。为了在异构系统上实现OpenACC到OpenMP的转换,我们进一步对OpenACC和OpenMP模型进行了比较研究。在这种情况下,我们提出了一个简短的概述,开源OpenACC编译器Clacc,这是基于翻译OpenACC到OpenMP在Clang。

英文摘要:

This documentation is designed for beginners in Graphics Processing Unit (GPU)-programming and who want to get familiar with OpenACC and OpenMP offloading models. Here we present an overview of these two programming models as well as of the GPU-architectures. Specifically, we provide some insights into the functionality of these models and perform experiments involving different directives and discuss their performance. This is achieved through the use of a mini-application based on solving numerically the Laplace equation. Such experiments reveal the benefit of the use of GPU, which in our case manifests by an increase of the performance by almost a factor of 52. We further carry out a comparative study between the OpenACC and OpenMP models in the aim of converting OpenACC to OpenMP on heterogeneous systems. In this context, we present a short overview of the open-source OpenACC compiler Clacc, which is designed based on translating OpenACC to OpenMP in Clang.

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

↑