arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.14221physics.acc-ph
收藏

面向GPU与众核CPU的性能可移植性解决方案在径迹重建内核中的应用

Application of performance portability solutions for GPUs and many-core CPUs to track reconstruction kernels

Ka Hei Martin Kwok, Matti Kortelainen, Giuseppe Cerati, Alexei Strelchenko, Oliver Gutsche, Allison Reinsvold Hall, Steve Lantz, Michael Reid, Daniel Riley, Sop… 展开作者

Ka Hei Martin Kwok, Matti Kortelainen, Giuseppe Cerati, Alexei Strelchenko, Oliver Gutsche, Allison Reinsvold Hall, Steve Lantz, Michael Reid, Daniel Riley, Sophie Berkman, Seyong Lee, Hammad Ather, Boyana Norris, Cong Wang

AI总结:

本文在mkFit的p2z与p2r径迹重建迷你应用上评估Kokkos、SYCL、C++17并行策略和Alpaka,比较其跨NVIDIA、AMD、Intel GPU及众核CPU的开发体验与吞吐量。

摘要:

下一代高能物理(HEP)实验在数据量和处理能力两方面都面临重大计算挑战。使用GPU等计算加速器是提供必要计算能力以应对该挑战的有前景途径之一。当前计算加速器的编程模型往往需要使用硬件厂商推动的架构专用编程语言,因此限制了代码可运行的平台范围。对HEP社区而言,开发受平台限制的软件尤其不可行,因为将典型HEP算法转换为在计算加速器上高效运行的算法需要投入大量精力。近来出现了多种性能可移植性解决方案,为使用计算加速器提供了另一条路径,使代码能够在不同厂商的硬件上执行。我们将Kokkos、SYCL、C++17 std::execution::par和Alpaka等若干可移植性解决方案应用于从mkFit项目提取的两个迷你应用:p2z和p2r。这些应用包含用于Kalman滤波径迹拟合的基本内核,例如分别针对位于固定z或固定r位置的探测器进行径迹参数的传播和更新。两个迷你应用还探索了不同的内存布局格式。我们报告了使用不同可移植性解决方案的开发经验,以及它们在GPU和众核CPU上的性能;性能以来自NVIDIA、AMD和Intel等不同GPU与CPU厂商的内核吞吐量来衡量。

英文摘要:

Next generation High-Energy Physics (HEP) experiments are presented with significant computational challenges, both in terms of data volume and processing power. Using compute accelerators, such as GPUs, is one of the promising ways to provide the necessary computational power to meet the challenge. The current programming models for compute accelerators often involve using architecture-specific programming languages promoted by the hardware vendors and hence limit the set of platforms that the code can run on. Developing software with platform restrictions is especially unfeasible for HEP communities as it takes significant effort to convert typical HEP algorithms into ones that are efficient for compute accelerators. Multiple performance portability solutions have recently emerged and provide an alternative path for using compute accelerators, which allow the code to be executed on hardware from different vendors. We apply several portability solutions, such as Kokkos, SYCL, C++17 std::execution::par and Alpaka, on two mini-apps extracted from the mkFit project: p2z and p2r. These apps include basic kernels for a Kalman filter track fit, such as propagation and update of track parameters, for detectors at a fixed z or fixed r position, respectively. The two mini-apps explore different memory layout formats. We report on the development experience with different portability solutions, as well as their performance on GPUs and many-core CPUs, measured as the throughput of the kernels from different GPU and CPU vendors such as NVIDIA, AMD and Intel.

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

↑