![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Function to transfer data to/from GPUs. More...
Functions | |
ghost_error | ghost_densemat_download (ghost_densemat *vec) |
Downloads a densemat from a compute device, excluding halo elements. More... | |
ghost_error | ghost_densemat_upload (ghost_densemat *vec) |
Uploads a densemat to a compute device, excluding halo elements. The densemat must be present on both host and device. More... | |
Function to transfer data to/from GPUs.
ghost_error ghost_densemat_download | ( | ghost_densemat * | vec | ) |
Downloads a densemat from a compute device, excluding halo elements.
The densemat must be present on both host and device. Does nothing if the densemat is not present on the device.
vec | The densemat. |
ghost_error ghost_densemat_upload | ( | ghost_densemat * | vec | ) |
Uploads a densemat to a compute device, excluding halo elements. The densemat must be present on both host and device.
vec | The densemat. |