Parallel C++ - Patrick Diehl, Steven R. Brandt & Hartmut Kaiser

Parallel C++

ByPatrick Diehl, Steven R. Brandt & Hartmut Kaiser

  • Release Date: 2024-07-02
  • Genre: Programming

Description

This textbook focuses on practical parallel C++ programming at the graduate student level. In particular, it shows the APIs and related language features in the C++ 17 and C++ 20 standards, covering both single node and distributed systems. It shows that with the parallel features in the C++ 17 and C++ 20 standards, learning meta-languages like OpenMP is no longer necessary. Using the C++ standard library for parallelism and concurrency (HPX), the same language features can be extended to distributed codes, providing a higher-level C++ interface to distributed programming than the Message Passing Interface (MPI).
The book starts with the single-threaded implementation of the fractal sets, e.g. Julia set, and Mandelbrot set, using the C++ Standard Library (SL)’s container and algorithms. This code base is used for parallel implementation using low-level threads, asynchronous programming, parallel algorithms, and coroutines. The asynchronous programming examples are then extended to distributed programming using the C++ standard library for parallelism and concurrency (HPX). Octo-Tiger, an astrophysics code for stellar merger, is used as a showcase for a portable, efficient, and scalable high-performance application using HPX.

The book’s core audience is advanced undergraduate and graduate students who want to learn the basics of parallel and distributed C++ programming but are not computer science majors. Basic C++ knowledge, like functions, classes, loops, and conditional statements, is assumed as a requirement, while C++ advanced topics, like generic programming, lambda functions, smart pointers, and move semantics, are briefly summarized in the appendix.

About "Parallel C++"

Explore Parallel C++ by Patrick Diehl, Steven R. Brandt & Hartmut Kaiser on eBooksStore by Arnlweb. Discover book details, reader ratings, reviews, release information, genres, and related digital books available through the iTunes Store.

This book is part of our growing collection of bestselling eBooks, popular digital reading materials, and trending author releases. Readers can explore similar books, discover new authors, and browse related genres including fiction, romance, mystery, fantasy, business, self-help, educational books, and more.

Our platform helps readers discover highly rated digital books optimized for smartphones, tablets, laptops, and desktop devices. Browse fast-loading book pages, reader reviews, and popular recommendations from bestselling authors worldwide.

Why Readers Explore This Book

  • Detailed book information
  • Reader ratings and reviews
  • Popular author collections
  • Related digital books
  • Mobile-friendly reading discovery
  • Fast-loading book pages
  • Trending eBook recommendations

Popular Reading Categories

  • Fiction & Literature
  • Business & Finance
  • Romance & Drama
  • Mystery & Thriller
  • Fantasy & Adventure
  • Educational eBooks
  • Self-Help & Motivation