Solving discretized versions of the Dirac equation represents a large share of execution time in lattice Quantum Chromodynamics (QCD) simulations. Many high-performance computing (HPC) clusters use graphics processing units (GPUs) to offer more computational resources. Our solver program, DDalphaAMG, previously was unable to fully take advantage of GPUs to accelerate its computations. Making use of GPUs for DDalphaAMG is an ongoing development, and we will present some current progress herein. Through a detailed description of our development, this thesis should offer valuable insights into using GPUs to accelerate a memory-bound CPU implementation.
We developed a storage scheme for multiple tuples, which allows much more efficient memory access on GPUs, given that the element at the same index is read from multiple tuples simultaneously. Still, our implementation of a discrete Dirac operator is memory-bound, and we only achieved improvements for large linear systems on few nodes at the JUWELS cluster. These improvements do not currently overcome additional introduced overheads. However, the results for the application of the Wilson-Dirac operator show a speedup of around 3 for large lattices. If the additional overheads can be eliminated in the future, GPUs could reduce the DDalphaAMG execution time significantly for large lattices.
We also found that a previous publication on the GPU acceleration of DDalphaAMG, underrepresented the achieved speedup, because small lattices were used. This further highlights that GPUs often require large-scale problems to solve in order to be faster than CPUs
Accelerating lattice QCD simulations with 2 flavours of staggered fermions on multiple GPUs using OpenACC - a first attempt
我们提出的努力,以加速合理的混合蒙特卡罗(RHMC)程序的晶格量子色动力学(QCD)模拟交错费米子的2种口味上分布在不同节点的Cray XC 30的多个开普勒K20 X GPU的结果。我们不使用CUDA,而是使用OpenACC平台采用更高级别的基于指令的编程方法。格点量子色动力学算法是已知的带宽限制,我们的定时结果清楚地说明了这一点,我们讨论如何限制并行化的收益。我们实现了超过三个因素的速度相比,只有CPU的MPI程序。
Coulomb, Landau and Maximally Abelian Gauge Fixing in Lattice QCD with Multi-GPUs
提出了一种基于图形处理器(GPU)的格点规范理论仿真框架。该代码包括模板类,这些模板类负责最佳数据模式,以确保从设备内存中合并读取,从而实现最佳性能。本文主要研究格点规范固定在3+1维SU(3)格点规范场理论中的应用。我们采用了超松弛,随机松弛和模拟退火算法,这些算法非常适合于通过GPU等高度并行的架构来加速。应用程序支持库仑,朗道和最大阿贝尔规范。此外,我们探讨了SU(3)值的自由度的数值精度的演变在单精度(SP)和双精度(DP)的算法的运行时间。因此,我们得出结论的SP和DP模拟的可靠性,并建议一个混合精度的计划,执行的关键部分的算法在充分DP,同时保留80-90%的SP性能。最后,采用多GPU来克服单GPU的内存限制。一个通信类,它隐藏了MPI数据交换的边界上的晶格域,通过低带宽的PCI总线,有效地背后的计算在域的内部。演示了使用16个NVIDIA Tesla C2070器件的线性缩放,以及在尺寸小至64^3 x 256的晶格上3.5 Teraflops的最大性能。
格点QCD模拟的运行时间由一个小内核控制,它计算一个向量与一个稀疏矩阵的乘积,称为“Dslash”算子。因此,该内核经常针对各种HPC架构进行优化。在本文中,我们比较了英特尔至强融核与当前基于开普勒的NVIDIA Tesla GPU运行共轭梯度求解器的性能。通过同时反转多个向量,将更多的并行性暴露给加速器,我们在两种架构上都获得了250 GFlop/s的性能。这使反演的性能提高了一倍多。我们给出了一个简短的概述这两种架构,讨论了一些细节的实施和所需的努力,以获得所取得的性能。
Accelerating iterative linear equation solver using modified domain-wall fermion matrix in lattice QCD simulations
Graduate University for Advanced Studies (SOKENDAI)(高级研究大学院大学(SOKENDAI));RIKEN Center for Computational Science(理化学研究所计算科学中心);High Energy Accelerator Research Organization (KEK)(高能加速器研究机构(KEK))