- ...fig-part-3.a;
- Throughout
this paper, the DOALL construct denotes a parallel loop.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...fig-part-3.c.
- The KSR
directives are used to denote parallelism in the partitioned code.
Thus, the code enclosed within the PARALLEL REGION and
END PARALLEL REGION directives is executed by all P processors,
but using different data for each processor; this is
achieved by means of a library function, IPR_MID(), which
returns an integer between 0 and P-1 depending on which
processor executes the code. The variables I, K, LK, and
UK are declared as private, that is, each processor
has its own copy of the variable.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.