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

AMD GPU指令根线模型的建模与设计

Metrics and Design of an Instruction Roofline Model for AMD GPUs

Matthew Leinhauser, René Widera, Sergei Bastrakov, Alexander Debus, Michael Bussmann, Sunita Chandrasekaran

摘要:

由于Frontier超级计算机最近的发布,许多科学应用程序开发人员正在努力使他们的应用程序与AMD架构(CPU-GPU)兼容,这意味着远离传统的CPU和NVIDIA-GPU系统。由于目前针对AMD GPU的分析工具的局限性,这一转变在如何衡量AMD GPU上的应用程序性能方面留下了空白。在本文中,我们使用AMD的ROCProfiler和基准测试工具BabelStream(HIP实现)为AMD GPU设计了一个指令屋顶模型,作为一种测量应用程序在新AMD硬件上的指令和内存事务性能的方法。具体来说,我们为一个案例研究科学应用程序PIConGPU创建了指令屋顶模型,PIConGPU是一个开源的粒子模拟应用程序,用于在NVIDIA V100、AMD Radeon Instinct MI60和AMD Instinct MI 100 GPU上进行等离子体和激光等离子体物理模拟。在查看PIConGPU中感兴趣的多个内核的性能时,我们发现,尽管AMD MI 100 GPU与NVIDIA V100 GPU相比实现了相似或更好的执行时间,但分析工具的差异使得很难比较这两种架构的性能。当查看执行时间,GIPS和指令强度时,AMD MI60在这项工作中使用的三个GPU中表现最差。

英文摘要:

Due to the recent announcement of the Frontier supercomputer, many scientific application developers are working to make their applications compatible with AMD architectures (CPU-GPU), which means moving away from the traditional CPU and NVIDIA-GPU systems. Due to the current limitations of profiling tools for AMD GPUs, this shift leaves a void in how to measure application performance on AMD GPUs. In this paper, we design an instruction roofline model for AMD GPUs using AMD's ROCProfiler and a benchmarking tool, BabelStream (the HIP implementation), as a way to measure an application's performance in instructions and memory transactions on new AMD hardware. Specifically, we create instruction roofline models for a case study scientific application, PIConGPU, an open source particle-in-cell (PIC) simulations application used for plasma and laser-plasma physics on the NVIDIA V100, AMD Radeon Instinct MI60, and AMD Instinct MI100 GPUs. When looking at the performance of multiple kernels of interest in PIConGPU we find that although the AMD MI100 GPU achieves a similar, or better, execution time compared to the NVIDIA V100 GPU, profiling tool differences make comparing performance of these two architectures hard. When looking at execution time, GIPS, and instruction intensity, the AMD MI60 achieves the worst performance out of the three GPUs used in this work.

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

↑