arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.15869hep-excs.DC
收藏

高能物理中面向异构架构的可移植并行化策略评估

Evaluating Portable Parallelization Strategies for Heterogeneous Architectures in High Energy Physics

Mohammad Atif, Meghna Battacharya, Paolo Calafiura, Taylor Childers, Mark Dewing, Zhihua Dong, Oliver Gutsche, Salman Habib, Kyle Knoepfel, Matti Kortelainen, K… 展开作者

Mohammad Atif, Meghna Battacharya, Paolo Calafiura, Taylor Childers, Mark Dewing, Zhihua Dong, Oliver Gutsche, Salman Habib, Kyle Knoepfel, Matti Kortelainen, Ka Hei Martin Kwok, Charles Leggett, Meifeng Lin, Vincent Pascuzzi, Alexei Strelchenko, Vakhtang Tsulaia, Brett Viren, Tianle Wang, Beomki Yeo, Haiwang Yu

AI总结:

HEP实验面临将大量x86 CPU代码移植到GPU等异构加速器的挑战,研究团队评估了Kokkos、SYCL等五种可移植并行化方案在DUNE、ATLAS等真实用例中的表现,为下一代实验框架的软硬件选择提供指导。

摘要:

高能物理(HEP)实验在数十年间开发了数百万行代码,这些代码经过优化以在传统的 x86 CPU 系统上运行。然而,我们看到在领导级计算设施和传统数据中心中,来自新加速器架构(如 GPU)的浮点计算能力占比正迅速增加。HEP 实验现在面临着将数百万行 x86 CPU 代码重写以适应这些计算加速器中日益占主导地位的架构的不可维持前景。制造商(如 NVIDIA、Intel 和 AMD)推广的特定架构语言和 API 使这项任务更具挑战性。考虑到可用的人力资源和代码维护问题,生成多个特定架构的实现并非可行方案。HEP 计算卓越中心的可移植并行化策略团队正在研究使用 Kokkos、SYCL、OpenMP、std::execution::parallel 和 alpaka 作为潜在的可移植性解决方案,这些方案承诺使用相同的源代码在多种架构上执行,并采用主要 HEP 实验的代表性用例,包括长基线中微子设施的 DUNE 实验,以及大型强子对撞机的 ATLAS 和 CMS 实验。这项使用真实应用对可移植性解决方案的跨领域评估,将帮助指导和引导 HEP 社区为下一代实验框架选择其软件和硬件套件。我们展示了我们的研究结果,包括性能指标、移植挑战、API 评估和构建系统集成。

英文摘要:

High-energy physics (HEP) experiments have developed millions of lines of code over decades that are optimized to run on traditional x86 CPU systems. However, we are seeing a rapidly increasing fraction of floating point computing power in leadership-class computing facilities and traditional data centers coming from new accelerator architectures, such as GPUs. HEP experiments are now faced with the untenable prospect of rewriting millions of lines of x86 CPU code, for the increasingly dominant architectures found in these computational accelerators. This task is made more challenging by the architecture-specific languages and APIs promoted by manufacturers such as NVIDIA, Intel and AMD. Producing multiple, architecture-specific implementations is not a viable scenario, given the available person power and code maintenance issues. The Portable Parallelization Strategies team of the HEP Center for Computational Excellence is investigating the use of Kokkos, SYCL, OpenMP, std::execution::parallel and alpaka as potential portability solutions that promise to execute on multiple architectures from the same source code, using representative use cases from major HEP experiments, including the DUNE experiment of the Long Baseline Neutrino Facility, and the ATLAS and CMS experiments of the Large Hadron Collider. This cross-cutting evaluation of portability solutions using real applications will help inform and guide the HEP community when choosing their software and hardware suites for the next generation of experimental frameworks. We present the outcomes of our studies, including performance metrics, porting challenges, API evaluations, and build system integration.

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

↑