6: Building blocks based structured parallel programming

Abstract

This is an introduction to building blocks based structured parallel programming.

Keywords

Building Blocks; Parallelism; Parallel Programming

We will discuss the usual usage case in parallel programming, then introduce the so-called building block and building blocks based parallel programming.

6.1 Orchestration and choreography

In Chapter 2, we have discussed the structured and unstructured parallelism in true concurrency. The usual usage case in parallel computing is illustrated in Fig. 6.1. There are two aspects in this case: orchestration and choreography. Orchestration contains a control flow of atomic actions, including ordinary atomic actions and communicating actions, and interacts ...

Get Theory of Structured Parallel Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.