next up previous contents
Next: Extensions for Asynchronous I/O Up: HPF 2.0 Approved Extensions Previous: Extensions for Data Mapping

9

Extensions for Data and Task Parallelism (Section )

The ON directive facilitates explicit computation partitioning. The site of recommended execution of a computation can be specified either as an explicitly identified subset of a processor arrangement, or indirectly as the set of processors onto which a data object or template is mapped.

In order to assist the compiler in generating efficient code, the RESIDENT directive is defined, to be used in conjunction with an ON directive by the programmer. It can be used to assert that all accesses to the specified object within the scope of the ON directive are to be found locally on the executing processor. The TASK_REGION directive allows the user to specify the concurrent execution of different blocks of code on disjoint processor subsets.