next up previous contents
Next: Localized computation and communication Up: The TASK_REGION Construct Previous: Execution Model and Usage

Implementation

A task region is simply an assertion about a code block and the exploitation of task parallelism is, at least partially, dependent on the compilation scheme. While the specifics of how task parallelism is exploited will be strongly dependent on the parallel system architecture, the compiler, and the underlying communication model, we will point out some important considerations and illustrate task parallel code generation with an example. We primarily address distributed memory machines using a message passing communication and synchronization model, but will point out some of the important issues relating to shared memory implementations.