function display( obj, objName ) %#ok<*DISPLAY>
%DISPLAY Display gpuArray
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.ones(N);
%       display(D);
%   
%   See also DISPLAY, GPUARRAY, GPUARRAY/DISP.
%   


%   Copyright 2008-2021 The MathWorks, Inc.

if nargin < 2
    objName = inputname(1);
end
thisClassName = class( obj );

% dispInternal knows how to truncate the object and build the DisplayHelper
% object
dh = dispInternal( obj, thisClassName, objName );
dh.doDisplay();
end
