acc_memcpy_to_device – Copy host memory to device memory.#
- Description
This function copies host memory specified by host address of
srcto device memory specified by the device addressdestfor a length ofbytesbytes.- C/C++:
Prototype:
acc_memcpy_to_device(d_void *dest, h_void *src, size_t bytes);- Reference:
OpenACC specification v2.6, section 3.2.31.