Copy the data in a GPU object to a CPU object. The objects must be of the core class (e.g. gpuvec/cpuvec and gpumat/cpumat), but they can be of different fundamental types (e.g. float/double).

gpu2cpu(gpu_in, cpu_out)

Arguments

gpu_in

Input.

cpu_out

Ouput.

Value

Returns NULL.