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