%GATHER Retrieve contents of gpuArray to the CPU
%   X = GATHER(D) is a regular array formed from the contents
%   of the gpuArray D.
%   
%   [X1, X2, ...] = GATHER(G1, G2, ...) converts all gpuArray inputs into
%   regular arrays. The number of inputs and outputs must match.
%   
%   Example:
%   N = 1000;
%   D = gpuArray(magic(N));
%   M = gather(D);
%   
%   retrieves M = magic(N) on the client
%   
%   See also gpuArray.


%   Copyright 2006-2018 The MathWorks, Inc.
