]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openacc-runtime-library-routines/accmemcpytodevice.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openacc-runtime-library-routines / accmemcpytodevice.rst
CommitLineData
c63539ff
ML
1..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6.. _acc_memcpy_to_device:
7
8acc_memcpy_to_device -- Copy host memory to device memory.
9**********************************************************
10
11Description
12 This function copies host memory specified by host address of :samp:`{src}` to
13 device memory specified by the device address :samp:`{dest}` for a length of
14 :samp:`{bytes}` bytes.
15
16C/C++:
17 .. list-table::
18
19 * - *Prototype*:
20 - ``acc_memcpy_to_device(d_void *dest, h_void *src, size_t bytes);``
21
22Reference:
23 :openacc:`2.6`, section
3ed1b4ce 24 3.2.31.