arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.08923cs.DC
收藏

AMD和Nvidia图形处理器上的模板计算:性能与调优策略

Stencil Computations on AMD and Nvidia Graphics Processors: Performance and Tuning Strategies

Johannes Pekkilä, Oskar Lappi, Fredrik Robertsén, Maarit J. Korpi-Lagg

AI总结:

本研究评估了现代数据中心GPU上模板计算的性能与能效,提出针对缓存密集型模板内核的融合调优策略,发现AMD与Nvidia GPU在软硬件上存在关键差异,需平台特定调优以发挥全部计算潜力。

摘要:

在过去十年中,图形处理器已成为高性能计算各个分支(包括机器学习和计算科学)中数据并行任务的事实标准加速器。然而,随着AMD制造的图形处理器最近被引入世界上最快的超级计算机,为先前硬件世代建立的调优策略必须重新评估。在本研究中,我们评估了现代数据中心图形处理器上模板计算的性能和能效,并提出了一种针对缓存密集型模板内核融合的调优策略。研究的案例包括合成应用和实际应用,涉及一维到三维的线性和非线性模板函数的评估。我们的实验揭示,AMD和Nvidia图形处理器在硬件和软件方面均存在关键差异,需要针对特定平台进行调优以充分发挥其计算潜力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑