next up previous contents
Next: Descriptive Distribution Up: Procedures Previous: Mapping and Procedures

 

Prescriptive Distribution

Can prescribe alignment and distribution,

For example,

    SUBROUTINE Subby(A,B,RES)
     IMPLICIT NONE
     REAL, DIMENSION(:,:), INTENT(IN)  :: A, B
     REAL, DIMENSION(:,:), INTENT(OUT) :: RES
!HPF$ PROCESSORS, DIMENSION(2,2)       :: P
!HPF$ TEMPLATE, DIMENSION(4,6)         :: T
!HPF$ ALIGN (:,:) WITH T(:,:)          :: A, B, RES
!HPF$ DISTRIBUTE (BLOCK,BLOCK) ONTO P  :: T
       ...
    END SUBROUTINE Subby

Inside Subby the data will be mapped as specified.

For more information, click here gif


next up previous contents
Next: Descriptive Distribution Up: Procedures Previous: Mapping and Procedures

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