September 21, 2022
Conference Paper

Towards Superior Software Portability with SHAD and HPX C++ Libraries


As hardware architectures and software stacks complexity grows, development productivity, performance and software portability, quickly evolve from desirable features to actual needs. SHAD, the Scalable High-performance Algorithms and Data-structures C++ library is designed to mitigate these issues: it provides general purpose building blocks as well as high-level custom utilities, and offers a shared-memory programming abstraction which facilitates the programming of complex systems, scaling up to High Performance Computing clusters. SHAD’s portability is achieved through an abstract runtime interface, which decouples the upper layers of the library and hides the low level details of the underlying architecture. This layer enables SHAD to interface with different runtime/threading systems, e.g. Intel TBB and Global Memory and Threading (GMT). However, current backends targeting distributed systems, rely on a centralized controller which may possibly limit scalability up to hundreds of nodes and creates a network hot spot due to all to one communication for synchronization, and possibly resulting in degraded performance at high process counts. In this research, we explore HPX, the C++ standard library for parallelism and concurrency, as an additional backend in support of the SHAD library, and present the methodologies in support of local and remote task executions in SHAD with respect to HPX. Finally, we evaluate the proposed system by comparing against existing backends of SHAD and analyzing their performance on C++ Standard Template Library algorithms.

Published: September 21, 2022


Wu N., V.G. Castellana, and H. Kaiser. 2022. Towards Superior Software Portability with SHAD and HPX C++ Libraries. In Proceedings of the 19th ACM International Conference on Computing Frontiers (CF 2022), May 17-19, 2022, Turin, Italy, 251–257. New York, New York:Association for Computing Machinery. PNNL-SA-171823. doi:10.1145/3528416.3530784