Saved in:
Bibliographic Details
Main Author: Shoshany, Barak
Format: Preprint
Published: 2021
Subjects:
Online Access:https://arxiv.org/abs/2105.00613
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914219182522368
author Shoshany, Barak
author_facet Shoshany, Barak
contents We present a modern C++17-compatible thread pool implementation, built from scratch with high-performance scientific computing in mind. The thread pool is implemented as a single lightweight and self-contained class, and does not have any dependencies other than the C++17 standard library, thus allowing a great degree of portability. In particular, our implementation does not utilize any high-level multithreading APIs, and thus gives the programmer precise low-level control over the details of the parallelization, which permits more robust optimizations. The thread pool was extensively tested on both AMD and Intel CPUs with up to 40 cores and 80 threads.
format Preprint
id arxiv_https___arxiv_org_abs_2105_00613
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle A C++17 Thread Pool for High-Performance Scientific Computing
Shoshany, Barak
Distributed, Parallel, and Cluster Computing
D.1.3; D.1.5
We present a modern C++17-compatible thread pool implementation, built from scratch with high-performance scientific computing in mind. The thread pool is implemented as a single lightweight and self-contained class, and does not have any dependencies other than the C++17 standard library, thus allowing a great degree of portability. In particular, our implementation does not utilize any high-level multithreading APIs, and thus gives the programmer precise low-level control over the details of the parallelization, which permits more robust optimizations. The thread pool was extensively tested on both AMD and Intel CPUs with up to 40 cores and 80 threads.
title A C++17 Thread Pool for High-Performance Scientific Computing
topic Distributed, Parallel, and Cluster Computing
D.1.3; D.1.5
url https://arxiv.org/abs/2105.00613