Next: 2D Example
Up: Alignment and Distribution
Previous: Alignment and Distribution
- BLOCK(m) -- give processors m elements,
- CYCLIC(m) -- distribute m elements in a
round-robin fashion, will be inefficient.
For example,
REAL, DIMENSION(20) :: A, B
!HPF$ PROCESSORS, DIMENSION(4) :: P
!HPF$ DISTRIBUTE A(BLOCK(9)) ONTO P
!HPF$ DISTRIBUTE B(CYCLIC(2)) ONTO P
For more information, click here
Next: 2D Example
Up: Alignment and Distribution
Previous: Alignment and Distribution
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.