Copy the data in a CPU object to a GPU object. The objects must be of the
core class (e.g. cpuvec/gpuvec and cpumat/gpumat), but they can be of
different fundamental types (e.g. float/double).
cpu2gpu(cpu_in, gpu_out)
Arguments
cpu_in |
Input. |
gpu_out |
Ouput. |
Value
Returns NULL
.