Skip to content
Snippets Groups Projects
Commit aebbee95 authored by Chao Zhan's avatar Chao Zhan
Browse files

fix wrong equation

parent 5c30a1a2
Branches tutorial-8
No related tags found
No related merge requests found
...@@ -223,8 +223,8 @@ A program made up of **10% serial initialization and finalization code** and it ...@@ -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: 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 - For p processors, each processor executes $\frac{N}{p}$ iterations
- Parallel time for executing the loop is: $T_{serial} = \frac{N}{p}$ - 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: Given: $T_{serial} = 0.1T$ and $T_{loop} = 0.9T$, answer the following questions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment