5. Accessing remote data from task-parallel code segments
INDEPENDENT DO loop of HPF:
DO I = 1, 10
. . .
- Variable-uses must have no loop-carried data dependence—can execute in parallel. But
- nothing forces all variables used in given iteration to have same home—communication needed—and
- arbitrary control flow within iteration. Cannot predict before execution what accesses actually happen.