Parallel programming
- V. Balaji and Rusty Benson
NOAA/GFDL and Princeton University SSAM 2012 17 July 2012
1
Parallel programming V. Balaji and Rusty Benson NOAA/GFDL and - - PowerPoint PPT Presentation
Parallel programming V. Balaji and Rusty Benson NOAA/GFDL and Princeton University SSAM 2012 17 July 2012 1 Overview Models of concurrency Overview of programming models: shared memory, distributed memory with remote memory access,
1
2
3
4
5
6
7
❄
✲
8
9
10
11
12
13
14
15
b=1 c=2 a=b+c b=3
b=1 c=2 a=b+c b=3
16
17
✲
✛
✲
✛
18
✛
✲
✛
✲
✲
✛
19
✚✙ ✛✘
✍✌ ✎☞
✚✙ ✛✘
✍✌ ✎☞
✚✙ ✛✘
✍✌ ✎☞
✚✙ ✛✘
✍✌ ✎☞
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
1
1
3
3
5
5
7
7
1
1
1
1
5
5
5
5
1
1
1
1
1
1
1
1
45
46
47
48
49
50
51
✲ u2 ✛ ✲ u3 ✛ ✲ u4 ✛ ✲ u5 ✛ ✲ u6 ✛ ✲ u7 ✛ ✲ u8 ✛
52
✲ u2 ✛ ✲ u3 ✛ ✲ u4 ✛ ✲ u5 ✛ ✲ u6 ✛ ✲ u7 ✛ ✲ u8 ✛
53
54
✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈ ✈
55
56
57
58
59
60
61
62
63
64