From aebbee955b23e14ad8c6471c14b60fbd7e07dbff Mon Sep 17 00:00:00 2001 From: Chao Zhan <chao.zhan@fu-berlin.de> Date: Thu, 15 Jun 2023 10:33:30 +0200 Subject: [PATCH] fix wrong equation --- slides/pages/recap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/pages/recap.md b/slides/pages/recap.md index 2c80ffb..0262cb7 100644 --- a/slides/pages/recap.md +++ b/slides/pages/recap.md @@ -223,8 +223,8 @@ A program made up of **10% serial initialization and finalization code** and it Assumption: **fork/join** overhead is negligible, execution time for parallelizable loop is scales linearly with N, that is: -- For p processors, each processor executes $N/p$ iterations -- Parallel time for executing the loop is: $T_{serial} = \frac{N}{p}$ +- For p processors, each processor executes $\frac{N}{p}$ iterations +- Parallel time for executing the loop is: $T_{ploop} = \frac{T_{loop}}{p}$ Given: $T_{serial} = 0.1T$ and $T_{loop} = 0.9T$, answer the following questions: -- GitLab