Content deleted Content added
Undid revision 1037009062 by 85.67.32.244 (talk) ok maybe not a typo, but then is section heading a typo? |
m →Types: subscript |
||
Line 169:
}
</pre>
Note that now loop1 and loop2 can be executed in parallel. Instead of single instruction being performed in parallel on different data as in data level parallelism, here different loops perform different tasks on different data. Let's say the time of execution of S1 and S2 be <math>
</math> then the execution time for sequential form of above code is <math>n*(
=== DOALL parallelism ===
Line 182:
</pre>
Let's say the time of one execution of S1 be <math>
The following example, using a simplified pseudo code, shows how a loop might be parallelized to execute each iteration independently.
Line 231:
post(i);
}
</pre>Let's say the time of execution of S1 and S2 be <math>
</math> then the execution time for sequential form of above code is <math>n*(
=== DOPIPE parallelism ===
Line 262:
}
</pre>
Let's say the time of execution of S1 and S2 be <math>
</math> then the execution time for sequential form of above code is <math>n*(
== See also ==
|