Syntax:
-
!HPF$ DISTRIBUTE array(dist-format-list ) [ONTO procs]
-
!HPF$ DISTRIBUTE(dist-format-list ) [ONTO procs]::array-list
|
Semantics:
-
Each dimension of array is divided according to the corresponding pattern in dist-format-list
-
ONTO (if present) names the processor array to distribute on
|
Options for dist-format
-
(Let N be the number of elements.)
-
(Let P be the number of processors.)
-
BLOCK : Contiguous pieces of size N/P on each processor
-
CYCLIC : Every Pth element to the same processor
-
CYCLIC(K) : Every Pth block of size K to the same processor
-
* : Dimension not distributed
|