Module - 3 Parallel Algorithm Design - Preliminaries
Module - 3 Parallel Algorithm Design - Preliminaries
1
Constructing a Parallel Algorithm
3
Example 1: Dense Matrix-Vector Multiplication
5
• Task: create sets of elements that satisfy a (or several)
criteria.
• Edge: output of one task serves as input to the next
6
• An alternate task-dependency graph for query
8
Degree of Concurrency
9
Critical Path of Task Graph
10
Example: Critical Path Length
Left graph:
Critical path length = 27
Average degree of concurrency = 63/27 = 2.33
Right graph:
Critical path length = 34
Average degree of concurrency = 64/34 = 1.88
11
Limits on Parallelization
12