Next: Solution
Up: Parallel Loops
Previous: Solution
Given a list of n numbers, use a FORALL statement to calculate an
array (size n-3)
holding the sum of each set of four consecutive numbers. Add
any other relevant HPF loop directives.
Go back to Notes
Next: Solution
Up: Parallel Loops
Previous: Solution
©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997Not for commercial use.