Skip to content

Commit 301a7ed

Browse files
authored
Update 01-parallel-programming.md
1 parent 416e3b0 commit 301a7ed

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

intro-day/docs/01-parallel-programming.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,31 +143,31 @@ Simple domains with similar computational cost
143143

144144
<br>
145145
<!-- Copyright CSC -->
146-
![](img/eparallel.svg){.center width=50%}
146+
![](img/eparallel.svg){.center width=60%}
147147
</div>
148148

149149
<div class=column>
150150
Simple domains with different computational cost
151151

152152
<br>
153153
<!-- Copyright CSC -->
154-
![](img/mandelbrot-domains.png){.center width=40%}
154+
![](img/mandelbrot-domains.png){.center width=50%}
155155
</div>
156156

157157

158158
# Parallel Programming Models {.section}
159159

160-
# Parallel Programming Models I
160+
<!-- # Parallel Programming Models I
161161
162162
- Parallel execution is based on threads or processes (or both) which run at the same time on different CPU cores
163163
- Processes
164164
- Interaction is based on exchanging messages between processes
165165
- MPI (Message passing interface)
166166
- Threads
167167
- Interaction is based on shared memory, i.e. each thread can access directly other threads data
168-
- OpenMP, pthreads
168+
- OpenMP, pthreads -->
169169

170-
# Parallel Programming Models II
170+
# Parallel Programming Models
171171

172172
<!-- Copyright CSC -->
173173
![](img/processes-threads.svg){.center width=80%}
@@ -177,6 +177,7 @@ Simple domains with different computational cost
177177
- Independent execution units
178178
- MPI launches N processes at application startup
179179
- Works over multiple nodes
180+
- Data exchange via messages
180181
</div>
181182
<div class=column>
182183

@@ -185,6 +186,7 @@ Simple domains with different computational cost
185186
- Threads share memory space
186187
- Threads are created and destroyed (parallel regions)
187188
- Limited to a single node
189+
- Data visible by all threads
188190

189191
</div>
190192

0 commit comments

Comments
 (0)