Simple GPU 1.0
Fortran GPU Computing Library with transparent CPU/GPU support
Loading...
Searching...
No Matches
gpu::gpu_download Interface Reference

Download data from device (GPU) to host (CPU) More...

Detailed Description

Download data from device (GPU) to host (CPU)

Transfers data from GPU memory to host memory. The host array dimensions must match the GPU array dimensions.

Parameters
[in]device_arrGPU array containing data to download
[out]host_arrHost array to receive data
double precision :: x_h(1000)
type(gpu_double1) :: x
call gpu_download(x, x_h)
void gpu_download(const void *gpu_ptr, void *cpu_ptr, const int64_t n)
Definition gpu_amd.c:101

Definition at line 468 of file simple_gpu.F90.


The documentation for this interface was generated from the following file: