Designing a ROCm-Aware MPI Library for AMD GPUs: Early Experiences
Designing a ROCm-Aware MPI Library for AMD GPUs: Early Experiences
复制标题
为 AMD GPU 设计 ROCm 感知 MPI 库:早期经验
DOI:
10.1007/978-3-030-78713-4_7
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Panda, D K.
中科院分区:
文献类型:
--
作者:
Shafie, K;Hashmi, J;Chu, C;Chen, C;Subramoni, H;Panda, D K.
Due to the emergence of AMD GPUs and their adoption in upcoming exascale systems (e.g. Frontier), it is pertinent to have scientific applications and communication middlewares ported and optimized for these systems. Radeon Open Compute (ROCm) platform is an open-source suite of libraries tailored towards writing high-performance software for AMD GPUs. GPU-aware MPI, has been the de-facto standard for accelerating HPC applications on GPU clusters. The state-of-the-art GPU-aware MPI libraries have evolved over the years to support NVIDIA CUDA platforms. Due to the recent emergence of AMD GPUs, it is equally important to add support for AMD ROCm platforms. Existing MPI libraries do not have native support for ROCm-aware communication. In this paper, we take up the challenge of designing a ROCm-aware MPI runtime within the MVAPICH2-GDR library. We design an abstract communication layer to interface with CUDA and ROCm runtimes. We exploit hardware features such as PeerDirect, ROCm IPC, and large-BAR mapped memory to orchestrate efficient GPU-based communication. We further augment these mechanisms by designing software-based schemes yielding optimized communication performance. We evaluate the performance of MPI-level point-to-point and collective operations with our proposed ROCm-aware MPI Library and Open MPI with UCX on a cluster of AMD GPUs. We demonstrate 3–6and 2higher bandwidth for intra- and inter-node communication, respectively. With the rocHPCG application, we demonstrate approximately 2.2higher GFLOPs/s. To the best of our knowledge, this is the first research work that studies the tradeoffs involved in designing a ROCm-aware MPI library for AMD GPUs.
影响因子:
--
作者:
E. Kuznetsov;V. Stegailov
通讯作者:
V. Stegailov