Function File: ocl_mat = gpuArray (octave_mat)

Construct an OCL matrix from an octave matrix, preserving the elements’ data type.

For compatibility with MATLAB, the gpuArray function is an alias to oclArray.

See also: oclArray, ocl_to_octave, gather.

Package: ocl