Distributed Arrays and SPMD
Partition arrays across multiple MATLAB® workers
for data-parallel computing and simultaneous execution
Functions
| distributed |
Create distributed array from data in client workspace |
| gather |
Transfer distributed array or gpuArray to local workspace |
| redistribute |
Redistribute codistributed array with another distribution
scheme |
| codistributed.build |
Create codistributed array from distributed data |
| for |
for-loop over distributed range |
| getLocalPart |
Local portion of codistributed array |
| globalIndices |
Global indices for local part of codistributed array |
| gop |
Global operation across all workers |
Classes
| distributed |
Access elements of distributed arrays from client |
| codistributed |
Access elements of arrays distributed among workers in
parallel pool |
| Composite |
Access nondistributed variables on multiple workers from
client |