Joachim Nitschke
PARALLEL PROGRAMMING
Project Seminar “Parallel Programming”, Summer Semester 2011
PARALLEL Joachim Nitschke PROGRAMMING Project Seminar Parallel - - PowerPoint PPT Presentation
PARALLEL Joachim Nitschke PROGRAMMING Project Seminar Parallel Programming, Summer Semester 2011 CONTENT Introduction Parallel program design Patterns for parallel programming A: Algorithm structure B: Supporting
Joachim Nitschke
Project Seminar “Parallel Programming”, Summer Semester 2011
2
Context around parallel programming
4
5
6
7
8
9
10
General strategies for finding concurrency
12
13
14
15
16
17
18
Typical parallel program structures
decomposition
20
21
22
23
Example: Simple blur filter where every pixel is set to the average value of its surrounding pixels
squares
task
information from other squares is required
24
25
26
C1 C2 C3 C4 C5 C6 C1 C2 C3 C4 C5 C6 C1 C2 C3 C4 C5 C6
Pipeline stage 1 Pipeline stage 2 Pipeline stage 3
time
27
28
29
30
instructions are driven by the ID
data
31
32
33
34
35
36
37
noninterfering sets
38
Images from Mattson et al. 2004
40