PHI: A modern C++ library for parallel pattern composition
Preprint
- 7 November 2025
- preprint
- Published by Springer Nature in Research Square
Abstract
This paper presents the design of PHI, a modern C++ library that allows for the composable expression of parallel computation patterns. Building upon the principles of GrPPI, PHI introduces a range-like interface that enables for declarative composition of parallel patterns by means of a pipe-like syntax that better aligns with contemporary C++ idioms. Additionally, PHI's architecture aims to separate pattern composition from its execution, allowing for backend-agnostic implementations, and the potential to integrate various execution models.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- pi-par: A Dependently-Typed Parallel Language with Algorithmic SkeletonsInternational Journal of Parallel Programming, 2025
- Data Parallel C++2023
- The Celerity High-level API: C++20 for Accelerator ClustersInternational Journal of Parallel Programming, 2022
- The Kokkos EcoSystem: Comprehensive Performance Portability for High Performance ComputingComputing in Science & Engineering, 2021
- Kokkos 3: Programming Model Extensions for the Exascale EraIEEE Transactions on Parallel and Distributed Systems, 2021
- SkePU 3: Portable High-Level Programming of Heterogeneous Systems and HPC ClustersInternational Journal of Parallel Programming, 2021
- Celerity: High-Level C++ for Accelerator Clusters2019
- A generic parallel pattern interface for stream and data processingConcurrency and Computation: Practice and Experience, 2017
- Fastflow: High‐Level and Efficient Streaming on Multicore2017
- FRACTAL ASPECTS OF THE ITERATION OF z →Λz(1‐ z) FOR COMPLEX Λ AND zAnnals of the New York Academy of Sciences, 1980