在Summit上使用OpenMP指令定位GPU:简单有效的Fortran体验
Targeting GPUs with OpenMP Directives on Summit: A Simple and Effective Fortran Experience
摘要:
我们使用OpenMP来定位Summit上的硬件加速器(GPU),Summit是橡树岭领导计算设施(OLCF)新部署的超级计算机,为我们的天体物理代码GenASiS的用户演示了对GPU设备的简化访问,并在示例流体动力学问题上实现了有用的加速。我们修改了用于数据存储的workhorse类,以包括成员和方法,这些成员和方法可以显着简化GPU内存的持久分配和关联。用户使用与多核并行化中已经熟悉的结构相当相似的OpenMP目标指令卸载计算内核。在这个初始示例中,我们会问:“在给定Summit节点数的情况下,使用和不使用GPU的计算速度有多快?“,并查找$\sim 12\mathrm{X}$的总壁时间加速比。我们还发现合理的弱扩展到8000个GPU(1334个Summit节点)。我们在https://github.com/GenASiS/GenASiS_Basics上提供了这项工作的源代码。
英文摘要:
We use OpenMP to target hardware accelerators (GPUs) on Summit, a newly deployed supercomputer at the Oak Ridge Leadership Computing Facility (OLCF), demonstrating simplified access to GPU devices for users of our astrophysics code GenASiS and useful speedup on a sample fluid dynamics problem. We modify our workhorse class for data storage to include members and methods that significantly streamline the persistent allocation of and association to GPU memory. Users offload computational kernels with OpenMP target directives that are rather similar to constructs already familiar from multi-core parallelization. In this initial example we ask, "With a given number of Summit nodes, how fast can we compute with and without GPUs?", and find total wall time speedups of $\sim 12\mathrm{X}$. We also find reasonable weak scaling up to 8000 GPUs (1334 Summit nodes). We make available the source code from this work at https://github.com/GenASiS/GenASiS_Basics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。