HPF makes much greater use of runtime optimizations than the traditional sequential or parallel compiler |
Fortran 77: Do 1 I=1,N 1 A(I) = FUNC(B(I), B(I +/- 1), C(I), C(I +/- 1), .....) |
Traditionally arrange access to these elements in COMPILER |
HPF: A=FUNC(B,C) |
Invoke ALREADY OPTIMIZED parallel implementation of FUNC In many cases, HPF compiler need not know anything about parallelization except interfaces, data layout etc. |