1 |
e.g. Program represented as sequence of functions operating on arrays
-
Dimension: A(100,100), B(100,100), C(100,100)
-
A = B + C
|
2 |
Or as another example:
-
A = B + Shift in x, y (C) In APL, Fortran90 - like syntax
-
forall i, j Or we can use explicit forall loops
-
A(i,j) = B (i,j) + C (i-1, j) + ......
|
3 |
All data owned by a particular processor
|
4 |
and we typically use Owner computes rule:
-
For an expression such as A(i,j) = ..........,
-
Processor holding A(i,j) calculates expression after communicating any needed data if r.h.s. contains data not owned by processor.
|
5 |
Similar concepts in C, C++, LISP, ADA .......
|