GNU libgomp: acc_set_cuda_stream

Previous: acc_get_cuda_stream, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.35 `acc_set_cuda_stream` – Set CUDA stream handle.

Description

  This function associates the stream handle specified by stream with the asynchronous value specified by async.

C/C++:

  Prototype: | `acc_set_cuda_stream(int async void *stream);`

Reference:

  OpenACC specification v2.0, section A.2.1.4.