Automatic parallelization: Difference between revisions

Content deleted Content added
Example: Fixed notation to be true fortran, and not a pseudocode/C/fortran hybrid; specifically, using commas as do loop indices and parenths rather than square brackets to access array entries.
Example: Change [ ] to ( ) in text between code snippets to reflect fortran array access operator
Line 21:
</pre>
 
On the other hand, the following code cannot be auto-parallelized, because the value of <code>z[(i])</code> depends on the result of the previous iteration, <code>z[(i-1])</code>.
<pre>
do i=2, n