MATLAB PARALLEL COMPUTING TOOLBOX - S Podręcznik Użytkownika Strona 132

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 131
5 Math with Codistributed Arrays
5-18
1 9 17 25 33 41 49 57
2 10 18 26 34 42 50 58
3 11 19 27 35 43 51 59
4 12 20 28 36 44 52 60
5 13 21 29 37 45 53 61
6 14 22 30 38 46 54 62
7 15 23 31 39 47 55 63
8 16 24 32 40 48 56 64
LAB 1
LAB 3
LAB 2
LAB 4
LAB 1
LAB 3
LAB 2
LAB 4
LAB 1
LAB 3
LAB 2
LAB 4
LAB 1
LAB 3
LAB 2
LAB 4
Original matrix
The diagram above shows a scheme that requires four overlays of the lab grid to
accommodate the entire original matrix. The following pmode session shows the code and
resulting distribution of data to each of the workers:
Przeglądanie stron 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 655 656

Komentarze do niniejszej Instrukcji

Brak uwag