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

为RISC-V上的高性能计算(HPC)做准备:结合HPX与Kokkos考察天体物理应用的向量化与分布式性能

Preparing for HPC on RISC-V: Examining Vectorization and Distributed Performance of an Astrophyiscs Application with HPX and Kokkos

Patrick Diehl, Panagiotis Syskakis, Gregor Daiß, Steven R. Brandt, Alireza Kheirkhahan, Srinivas Yadav Singanaboina, Dominic Marcello, Chris Taylor, John Leidel, Hartmut Kaiser

AI总结:

本研究基于天体物理应用Octo-Tiger,将依托HPX、Kokkos的C++代码移植到RISC-V架构,验证向量扩展的性能影响,并对比其与A64FX系统的性能、扩展性及功耗,为RISC-V在HPC领域的应用做准备。

摘要:

近年来,业界对RISC-V计算架构的关注已从学术领域转向主流领域,在能源限制日益受到关注的高性能计算(High Performance Computing,HPC)领域尤其如此。截至今年,首批实现最终获批向量规范的单板RISC-V CPU正式发布。RISC-V向量规范延续了CDC STAR-100、Cray-1、Convex C系列以及NEC SX系列机器与加速器中向量处理器的设计传统。这类向量处理器支持可变长度数组处理,这与SIMD提供的固定长度处理功能不同。向量处理器还支持向量链接技术,无需解析内存引用即可使用临时结果。\n在本研究中,我们使用Octo-Tiger这款多物理场、多尺度的三维自适应网格细化天体物理应用,来研究这些具备向量机支持的早期RISC-V芯片。我们报告了将这款基于HPX、Kokkos等多个开源库构建的现代C++代码移植到RISC-V架构的实践经验。此外,我们通过实现std::experimental::simd接口并将其集成到代码中,展示了RISC-V向量扩展对RISC-V单板计算机的性能影响。我们还对比了该应用在桌面级RISC-V计算机与A64FX系统上的性能、可扩展性和功耗。

英文摘要:

In recent years, interest in RISC-V computing architectures has moved from academic to mainstream, especially in the field of High Performance Computing where energy limitations are increasingly a concern. As of this year, the first single board RISC-V CPUs implementing the finalized ratified vector specification are being released. The RISC-V vector specification follows in the tradition of vector processors found in the CDC STAR-100, the Cray-1, the Convex C-Series, and the NEC SX machines and accelerators. The family of vector processors offers support for variable-length array processing as opposed to the fixed-length processing functionality offered by SIMD. Vector processors offer opportunities to perform vector-chaining which allows temporary results to be used without the need to resolve memory references. In this work, we use the Octo-Tiger multi-physics, multi-scale, 3D adaptive mesh refinement astrophysics application to study these early RISC-V chips with vector machine support. We report on our experience in porting this modern C++ code (which is built upon several open-source libraries such as HPX and Kokkos) to RISC-V. In addition, we show the impact of the RISC-V Vector extension on a RISC-V single board computer by implementing the std::experimental:simd interface and integrating it with our code. We also compare the application's performance, scalability, and power consumption on desktop-grade RISC-V computer to an A64FX system.

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

↑