MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 447

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 446
gather
11-103
W 1024x1 8192 double
More About
Tips
Note that gather assembles the codistributed or distributed array in the workspaces of
all the workers on which it executes, or on the MATLAB client, respectively, but not both.
If you are using gather within an spmd statement, the gathered array is accessible on
the client via its corresponding Composite object; see “Access Worker Variables with
Composites”. If you are running gather in a communicating job, you can return the
gathered array to the client as an output argument from the task.
As the gather function requires communication between all the workers, you cannot
gather data from all the workers onto a single worker by placing the function inside a
conditional statement such as if labindex == 1.
See Also
arrayfun | codistributed | bsxfun | distributed | gpuArray | pagefun |
pmode
Vista de página 446
1 2 ... 442 443 444 445 446 447 448 449 450 451 452 ... 655 656

Comentários a estes Manuais

Sem comentários