Next: acc_init, Previous: acc_wait_all_async, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.11 `acc_wait_async` – Wait for completion of asynchronous operations.

Description

  This function enqueues a wait operation on queue async for any and all asynchronous operations enqueued on queue arg.

C/C++:

  Prototype: | `acc_wait_async(int arg, int async);`

Fortran:

  Interface: | `subroutine acc_wait_async(arg, async)`
  | `integer(acc_handle_kind) arg, async`

Reference:

  OpenACC specification v2.0, section 3.2.9.