混合并行CUDA程序在高能核力计算中的应用
An implementation of hybrid parallel CUDA code for the hyperonic nuclear forces
摘要:
为了研究从格点量子色动力学出发的从核子-核子到$Ξ-Ξ$的重子相互作用,我们开发了一个GPGPU程序来计算Nambu-Bethe-Salpeter(NBS)波函数的52个通道.采用CUDA编程实现了MPI和OpenMP混合并行编程的多GPU执行。简要介绍了一次高效计算大量NBS波函数的有效重子块算法,并在单程序多数据(SPMD)编程模型下,利用GPU实现了3个CUDA内核程序,实现了有效重子块算法.为了并行化多个GPU,我们采取两种方法,通过划分时间维度和划分空间维度。性能是使用筑波大学的HA-PACS超级计算机测量的,该计算机包括NVIDIA M2090和NVIDIA K20 X GPU。给出了使用M2090和K20 X GPU测量的强缩放和弱缩放。我们发现M2090和K20 X之间的明显差异,在持续的性能测量特定的内核执行,利用cudaStream对象。
英文摘要:
We present our recent effort to develop a GPGPU program to calculate 52 channels of the Nambu-Bethe-Salpeter (NBS) wave functions in order to study the baryon interactions, from nucleon-nucleon to $Ξ-Ξ$, from lattice QCD. We adopt CUDA programming to perform the multi-GPU execution on a hybrid parallel programming with MPI and OpenMP. Effective baryon block algorithm is briefly outlined, which calculates efficaciously a large number of NBS wave functions at a time, and three CUDA kernel programs are implemented to materialize the effective baryon block algorithm using GPUs on the single-program multiple-data (SPMD) programming model. In order to parallelize multiple GPUs, we take both two approaches by dividing the time dimension and by dividing the spatial dimensions. Performances are measured using HA-PACS supercomputer in University of Tsukuba, which includes NVIDIA M2090 and NVIDIA K20X GPUs. Strong scaling and weak scaling measured by using both M2090 and K20X GPUs are presented. We find distinct difference between the M2090 and the K20X in the sustained performance measurement of particular kernel executions which utilize the cudaStream objects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。