next up previous contents
Next: Extrinsics Up: Procedures Previous: A Possible Solution

 

The Next Problem

In HPF, given,

 
!HPF$ PROCESSORS, DIMENSION(4) :: P1
!HPF$ PROCESSORS, DIMENSION(4) :: P2

P1 and P2 are same processor array, but consider,

     REAL, DIMENSION(100,100) :: A
!HPF$ PROCESSORS, DIMENSION(4,4) :: P
!HPF$ DISTRIBUTE (BLOCK,BLOCK) ONTO P :: A
      ...
      CALL Grubbie(A(1,:),A(100,:))
       ...
      SUBROUTINE Grubbie(x,y)
       REAL, DIMENSION(:) :: x, y 
!HPF$ PROCESSORS, DIMENSION(4) :: P1, P2
!HPF$ DISTRIBUTE *(BLOCK) ONTO *P1 :: x
!HPF$ DISTRIBUTE *(BLOCK) ONTO *P2 :: y
       ...

but P1 and P2 are not same processor array. Oh lordy!

Motto: tex2html_wrap28935

For more information, click here gif


next up previous contents
Next: Extrinsics Up: Procedures Previous: A Possible Solution

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