next up previous contents
Next: Pointers Up: Approved Extensions for Data Mapping Previous: Remapping and Subprogram Interfaces

Mapping to Processor Subsets

 

This extension allows objects to be directly distributed to processor subsets by allowing a processor subset to be specified where a processor could be named, e.g., in a DISTRIBUTE directive. The specified subset must be a proper subset of the named processor arrangement.

The syntax of the extended dist-target is as follows:

H806 extended-dist-target is processors-name [ ( section-subscript-list ) ]
or * processors-name [ ( section-subscript-list ) ]
or *
!Example 1
!HPF$ PROCESSORS P(10)
      REAL A(100)
!HPF$ DISTRIBUTE A(BLOCK) ONTO P(2:5)

!Example 2
!HPF$ PROCESSORS Q(10,10)
      REAL A(100,100)
!HPF DISTRIBUTE B(BLOCK,BLOCK) ONTO Q(5:10,5:10)

In Example 1, the array A is distributed by block across the processors P(2) to P(5) while in the second example, the array B is distributed across the lower right quadrant of the processor array Q.


next up previous contents
Next: Pointers Up: Approved Extensions for Data Mapping Previous: Remapping and Subprogram Interfaces