next up previous contents
Next: Solution Up: Parallel Loops Previous: Solution

 

Forall

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 gif




next up previous contents
Next: Solution Up: Parallel Loops Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.