Skip to Main Content
Theory of Structured Parallel Programming
book

Theory of Structured Parallel Programming

by Yong Wang
April 2024
Intermediate to advanced content levelIntermediate to advanced
200 pages
3h 56m
English
Morgan Kaufmann
Content preview from Theory of Structured Parallel Programming

8: Modeling and verification of parallel programming patterns

Abstract

This chapter introduces the modeling and verification of parallel programming patterns.

Keywords

Patterns; Parallelism; Parallel Programming

In this chapter, we will introduce the modeling of parallel programming patterns [15] by use of APTC and guarded APTC.

8.1 Parallel control patterns

8.1.1 Fork-Join

The Fork-Join pattern forks the control flow into several ones, and rejoins later, as Fig. 8.1 shows. In Fig. 8.1, the clause e0Image forks into e1Image, e2, and e3, and later joins as e4.

Figure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Geometry for Programmers

Geometry for Programmers

Oleksandr Kaleniuk
The Mathematics of Machine Learning

The Mathematics of Machine Learning

Maria Han Veiga, François Gaston Ged

Publisher Resources

ISBN: 9780443248153