]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | acc_set_cuda_stream -- Set CUDA stream handle. | |
9 | ********************************************** | |
10 | ||
11 | Description | |
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 | ||
20 | C/C++: | |
21 | .. list-table:: | |
22 | ||
23 | * - *Prototype*: | |
24 | - ``int acc_set_cuda_stream(int async, void *stream);`` | |
25 | ||
26 | Reference: | |
27 | :openacc:`2.6`, section | |
3ed1b4ce | 28 | A.2.1.4. |