acc_set_cuda_stream – Set CUDA stream handle.#

Description

This function associates the stream handle specified by stream with the queue async.

This cannot be used to change the stream handle associated with acc_async_sync.

The return value is not specified.

C/C++:

Prototype:

int acc_set_cuda_stream(int async, void *stream);

Reference:

OpenACC specification v2.6, section A.2.1.4.