GNU libgomp: acc_wait

Next: acc_wait_all, Previous: acc_async_test_all, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.8 `acc_wait` – Wait for completion of a specific asynchronous operation.

Description

  This function waits for completion of the asynchronous operation specified in arg.

C/C++:

  Prototype: | `acc_wait(arg);`

Fortran:

  Interface: | `subroutine acc_wait(arg)`
  | `integer(acc_handle_kind) arg`

Reference:

  OpenACC specification v2.0, section 3.2.8.