计算内核在代码和代理中的相似性研究
On Similarity of Computational Kernels in our Codes and Proxies
AI总结:
本文提出基于计算硬件使用情况的性能相似性度量方法,通过分析Kripke代理应用和RAJA性能套件中的内核,验证了代码与代理应用之间计算内核的相似性。
摘要:
随着高性能计算系统快速发展,增加的节点并行性和广泛使用的加速器使得理解代码如何映射到硬件对达到最佳性能至关重要。基准测试常用于评估新兴架构的早期表现,但很少有人知道这些基准测试是否能代表模拟代码的性能特征。本文提出基于代码使用计算硬件的性能相似性度量方法,定义并表征了两种表现相似的内核类别。我们评估了Kripke代理应用和RAJA性能套件中的内核之间的成对相似性度量,使用CPU-only系统和GPU加速系统进行验证。我们验证了所提出的相似性度量能够正确匹配Kripke代理应用中的内核到RAJA性能套件中的内核。所提出的相似性度量方法使我们能够评估代码和所用代理应用中的计算内核的相似性。
英文摘要:
As high-performance computing (HPC) systems rapidly evolve, with increasing on-node parallelism and widespread use of accelerators, understanding how the code maps to hardware is essential for reaching optimal performance. Benchmarks are commonly used for early assessment of emerging architectures (as well as for informing the design of future hardware), but it is often unknown how well the benchmarks represent the performance characteristics of simulation codes. Existing methods for evaluating how well our benchmarks represent our HPC codes are manual, labor intensive, and challenging to scale to many benchmarks. In this paper, we propose performance similarity metrics based on how the code uses the compute hardware. We define and characterize two broad categories of kernels that exhibit similar performance characteristics. We evaluate the pairwise similarity metrics on kernels in the Kripke proxy application and the RAJA Performance Suite, using both a CPU-only system and a GPU-accelerated system. We validate that our similarity metrics correctly match a kernel in the Kripke proxy app to a kernel in the RAJA Performance Suite. Our proposed similarity metrics enable assessment of the similarity of computational kernels in our codes and the proxy applications we use to represent the codes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。