Next: acc_memcpy_from_device
– Copy device memory to host memory., Previous: acc_is_present
– Indicate whether host variable / array is present on device., Up: OpenACC Runtime Library Routines [Contents][Index]
acc_memcpy_to_device
– Copy host memory to device memory.This function copies host memory specified by host address of src to device memory specified by the device address dest for a length of bytes bytes.
Prototype: | acc_memcpy_to_device(d_void *dest, h_void *src, size_t bytes); |
OpenACC specification v2.6, section 3.2.31.