arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.09454cs.PFcs.DC
收藏

针对NVIDIA V100 GPU的OpenMP编译器性能评估

Performance Assessment of OpenMP Compilers Targeting NVIDIA V100 GPUs

Joshua Hoke Davis, Christopher Daley, Swaroop Pophale, Thomas Huber, Sunita Chandrasekaran, Nicholas J. Wright

摘要:

异构系统正变得越来越普遍。为了利用这些系统的丰富计算资源,应用程序开发人员需要健壮的编程模型,以便将遗留代码从今天的系统无缝迁移到明天的系统。在过去十多年中,指令已被确立为解决新兴系统的方案挑战的有希望的途径之一。这项工作的重点是在五个代理应用程序上应用和演示OpenMP卸载指令。我们观察到,性能差异很大,从一个编译器到另一个,我们的工作的一个重要方面是报告最佳实践的应用程序开发人员使用的OpenMP卸载编译器。虽然有些问题可以由开发人员解决,但还有一些问题必须报告给编译器供应商。通过重构OpenMP卸载指令,当使用Clang编译器时,我们在NERSC的Cori系统上获得了su 3代理应用程序的18倍加速,当使用Cori上的Cray-llvm编译器时,通过在拉普拉斯迷你应用程序中切换最大缩减以添加缩减,获得了15.7倍加速。

英文摘要:

Heterogeneous systems are becoming increasingly prevalent. In order to exploit the rich compute resources of such systems, robust programming models are needed for application developers to seamlessly migrate legacy code from today's systems to tomorrow's. Over the past decade and more, directives have been established as one of the promising paths to tackle programmatic challenges on emerging systems. This work focuses on applying and demonstrating OpenMP offloading directives on five proxy applications. We observe that the performance varies widely from one compiler to the other; a crucial aspect of our work is reporting best practices to application developers who use OpenMP offloading compilers. While some issues can be worked around by the developer, there are other issues that must be reported to the compiler vendors. By restructuring OpenMP offloading directives, we gain an 18x speedup for the su3 proxy application on NERSC's Cori system when using the Clang compiler, and a 15.7x speedup by switching max reductions to add reductions in the laplace mini-app when using the Cray-llvm compiler on Cori.

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

↑