MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 369

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 368
codistributed
11-25
Examples
Create a 1000-by-1000 codistributed array C1 using the default distribution scheme.
spmd
N = 1000;
X = magic(N); % Replicated on every worker
C1 = codistributed(X); % Partitioned among the workers
end
Create a 1000-by-1000 codistributed array C2, distributed by rows (over its first
dimension).
spmd
N = 1000;
X = magic(N);
C2 = codistributed(X,codistributor1d(1));
end
See Also
distributed | codistributor1d | codistributor2dbc | gather |
globalIndices | getLocalPart | redistribute | size | subsasgn | subsref
Seitenansicht 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare