next up previous contents
Next: Local Index Sets Up: Run Gaussian Elimination 2D Previous: Run Gaussian Elimination 2D

Solution

marks 5 (1 for each line except processors declaration)

   !HPF$ ALIGN START(:) WITH A(*,:)
   !HPF$ ALIGN SWAP(:)  WITH A(*,:)
   !HPF$ ALIGN Y(:)     WITH A(:,*)
   !HPF$ ALIGN X(:)     WITH A(*,:)
   !HPF$ PROCESSORS P(16,16) ! say
   !HPF$ DISTRIBUTE A(CYCLIC,CYCLIC) ONTO P

marks 18 (2 per line)

Assume here that scalars are replicated:


next up previous contents
Next: Local Index Sets Up: Run Gaussian Elimination 2D Previous: Run Gaussian Elimination 2D

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