From 5e1a1dd9777a40ca83dbdf0871e9482e47377a34 Mon Sep 17 00:00:00 2001
From: jfe <git@jfengels.de>
Date: Mon, 10 Jun 2024 15:39:08 +0200
Subject: [PATCH] Add exercises.

---
 exercises/parallelism.qmd | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 exercises/parallelism.qmd

diff --git a/exercises/parallelism.qmd b/exercises/parallelism.qmd
new file mode 100644
index 0000000..7a15372
--- /dev/null
+++ b/exercises/parallelism.qmd
@@ -0,0 +1,14 @@
+---
+title: "Parallelism"
+---
+### Tasks:
+  1. Revisit `schedule` and try `schedule(dynamic,100)` as in the hands-on and
+     explain what happens and why that differs from `schedule(static, 100)`.
+  42. Parallelize the loop in `maxval`. Search for the comment
+     `// HOMEWORK: Parallelise this loop!`. All information needed can be found
+     in the lecture slides.
+  23.  Do a strong-scaling experiment starting with 2 threads and up to 32
+      threads and plot the result.
+  42. If you were to increase the number of threads, do you expect the speedup
+      to continue indefinitely? If not, which limits can you imagine? Feel free
+      to use kitchen metaphors.
-- 
GitLab