cpu2gpu: cpu2gpu

Description Usage Arguments Value

View source: R/helpers.r

Description

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).

Usage

1
cpu2gpu(cpu_in, gpu_out)

Arguments

cpu_in

Input.

gpu_out

Ouput.

Value

Returns NULL.


wrathematics/fmlr documentation built on Jan. 17, 2022, 4:10 p.m.