All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Task parallelism, data parallelism, fork–join?

Also known as: data parallelism · task parallelism · fork--join

Definition 24.4 University Computer Science — Year 3 · Chapter 24 — Parallel Programming

Data parallelism applies the same operation to different parts of the data at once, as the chunks of Listing 24.1. Task parallelism runs different computations at once, such as the two recursive calls of a sort. In the fork–join pattern, a computation forks into parts that run in parallel and continues only when all of them have finished, at the join.

Read in context →