next up previous contents
Next: Scalar Arguments Up: HPF and Procedures Previous: Array Arguments Example 2

Collapsing Dimensions

If a dimension has a scalar index it is collapsed. Consider,

!HPF$ DISTRIBUTE (BLOCK,BLOCK) :: A, B
     ...
    CALL Xubbie(A(i,:),b(i,:))
     ...
    SUBROUTINE Xubbie(x,y)
     REAL, DIMENSION(:) :: x, y
     !HPF$ DISTRIBUTE (BLOCK) :: x, y

Will cause remapping. With 16 processors:

For more information, click here gif


next up previous contents
Next: Scalar Arguments Up: HPF and Procedures Previous: Array Arguments Example 2

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.