Over the last ten years, graphics processors have become the de facto accelerator for data-parallel tasks in various branches of high-performance computing, including machine learning and computational sciences. However, with the recent introduction of AMD-manufactured graphics processors to the world's fastest supercomputers, tuning strategies established for previous hardware generations must be re-evaluated. In this study, we evaluate the performance and energy efficiency of stencil computations on modern datacenter graphics processors, and propose a tuning strategy for fusing cache-heavy stencil kernels. The studied cases comprise both synthetic and practical applications, which involve the evaluation of linear and nonlinear stencil functions in one to three dimensions. Our experiments reveal that AMD and Nvidia graphics processors exhibit key differences in both hardware and software, necessitating platform-specific tuning to reach their full computational potential.
Evaluating OpenMP Offloading for Intra-node Multi-GPU Programming across NVIDIA, AMD, and Intel Architectures: A 3D Heat Transfer Case Study
Rudolfovo-Science and Technology Centre Novo mesto(鲁多尔沃夫诺沃梅斯托科学与技术中心);Faculty of Mechanical Engineering, University of Ljubljana(卢布尔雅那大学机械工程学院);Department of Computer Science, FSTM, University of Luxembourg(卢森堡大学科学技术学院计算机科学系)
Compression-Based Optimizations for Out-of-Core GPU Stencil Computation
核外模板计算代码处理大小超出GPU内存容量的大数据。然而,这样的代码需要频繁地将数据流式传输到GPU和从GPU流式传输数据。因此,CPU和GPU之间的数据移动通常会限制性能。在这项工作中,提出了基于压缩的优化。首先,将动态压缩技术应用于核外模板代码,从而减少CPU-GPU内存复制。其次,采用单工作缓冲区技术来降低GPU的内存消耗。实验结果表明,在NVIDIA Tesla V100 GPU上,使用该技术的模板代码实现了1.1倍的速度,并减少了33.0%的GPU内存消耗.