%NEXTPOW2 Next higher power of 2 for gpuArrays
%   
%   Y = NEXTPOW2(X)
%   
%   Examples:
%    
%       D = gpuArray(pi)
%       E = nextpow2(D)
%   
%    
%       X = gpuArray.colon(1, 5)
%       Y = nextpow2(X)
%   
%   See also NEXTPOW2, GPUARRAY, GPUARRAY/COLON.
%   


%   Copyright 2006-2014 The MathWorks, Inc.

