]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openacc-runtime-library-routines/accsetcudastream.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openacc-runtime-library-routines / accsetcudastream.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_set_cuda_stream:
7
8acc_set_cuda_stream -- Set CUDA stream handle.
9**********************************************
10
11Description
12 This function associates the stream handle specified by :samp:`{stream}` with
13 the queue :samp:`{async}`.
14
15 This cannot be used to change the stream handle associated with
16 ``acc_async_sync``.
17
18 The return value is not specified.
19
20C/C++:
21 .. list-table::
22
23 * - *Prototype*:
24 - ``int acc_set_cuda_stream(int async, void *stream);``
25
26Reference:
27 :openacc:`2.6`, section
3ed1b4ce 28 A.2.1.4.