1 |
High Performance Fortran
-
Dimension A,B (10000)
-
A=A+B
|
2 |
Space (elements of arrays A,B) in problem is mapped into space (i.e. arrays preserved) in Virtual Problem
|
3 |
---> Compiler can recognize data parallelism
|
4 |
---> Good parallel performance on all machines
|
5 |
Fortran77 Do 1 I = 1, 10000
|
6 |
Space in problem is mapped into time (successive iterations of DO loop) in Virtual Problem
|
7 |
---> Compiler has to "undo" this to recognize parallelism and generally fails
|
8 |
---> Good languages preserve problem architecture
|