From 6dd136cc832bd22a9d5b77b604c1b87b039c3379 Mon Sep 17 00:00:00 2001 From: Claudia Frauen <frauen@dkrz.de> Date: Sun, 2 Jun 2024 16:06:10 +0200 Subject: [PATCH] Add max as example reduction operator --- lectures/parallelism/slides.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/parallelism/slides.qmd b/lectures/parallelism/slides.qmd index 12b44d4..385e12e 100644 --- a/lectures/parallelism/slides.qmd +++ b/lectures/parallelism/slides.qmd @@ -216,7 +216,7 @@ Starting with batter for $N$ pancakes and 1 pan, we can scale by using $P$ pans for (int i = 0; i < N; ++i) sum = sum + a[i]; ``` -For other reduction operations see +For other reduction operations like e.g. `max` see [OpenMP documentation](https://www.openmp.org/spec-html/5.1/openmpsu117.html#x152-1720002.21.5) -- GitLab