18
H. Murai et al.
XMP/C
XMP/Fortran
0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
1 2 3 4 5 6 7 8
p[0][0], p(1,1)
p[0][1], p(2,1)
p[1][0], p(1,2)
p[1][1], p(2,2)
Fig. 12 Example of multi-dimensional distribution (1)
XMP/C
XMP/Fortran
0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
1 2 3 4 5 6 7 8
p[0][0], p(1,1)
p[0][1], p(2,1)
p[1][0], p(1,2)
p[1][1], p(2,2)
Fig. 13 Example of multi-dimensional distribution (2)
XMP/C
XMP/Fortran
0 1 2 3 4 5 6 7
0
1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
1 2 3 4 5 6 7 8
p[0], p(1)
p[1], p(2)
p[2], p(3)
p[3], p(4)
Fig. 14 Example of multi-dimensional distribution (3)
When an asterisk is specified in a distribute directive as a distribution
format, the target dimension is “non-distributed.” In the following example, the
first dimension is distributed in a block manner and the second dimension is nondistributed (Fig. 14).
Précédent

- 26/265

Suivant