Next: acc_wait, Previous: acc_async_test, Up: OpenACC Runtime Library Routines [Contents][Index]

### 5.7 `acc_async_test_all` – Tests for completion of all asynchronous operations.

Description

  This function tests for completion of all asynchrounous operations. In C/C++, a non-zero value will be returned to indicate all asynchronous operations have completed. While Fortran will return a `true`. If any asynchronous operation has not completed, C/C++ returns a zero and Fortran returns a `false`.

C/C++:

  Prototype: | `int acc_async_test_all(void);`

Fortran:

  Interface: | `function acc_async_test()`
  | `logical acc_get_device_num`

Reference:

  OpenACC specification v2.0, section 3.2.7.