next up previous contents
Next: Collapsing Dimensions Up: Procedures Previous: Array Arguments Example 1

 

Array Arguments Example 2

It is much simpler but less efficient to use prescriptive distributions.

     SUBROUTINE Zubbie(x,y,z)    
!HPF$ TEMPLATE, DIMENSION(4,6)            :: T
!HPF$ PROCESSORS, DIMENSION(2,2)          :: P
      REAL, INTENT(INOUT), DIMENSION(:,:) :: x, y
      REAL, INTENT(INOUT), DIMENSION(:,:) :: z
!HPF$ DISTRIBUTE (BLOCK,BLOCK) ONTO P     :: x, y, z
      ...
may generate,

For more information, click here gif


next up previous contents
Next: Collapsing Dimensions Up: Procedures Previous: Array Arguments Example 1

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.