6.7 acc_async_test – Test for completion of a specific asynchronous operation.

Description

This function tests for completion of the asynchronous operation specified in arg. In C/C++, a non-zero value is returned to indicate the specified asynchronous operation has completed while Fortran returns true. If the asynchronous operation has not completed, C/C++ returns zero and Fortran returns false.

C/C++:
Prototype:int acc_async_test(int arg);
Fortran:
Interface:function acc_async_test(arg)
integer(kind=acc_handle_kind) arg
logical acc_async_test
Reference:

OpenACC specification v2.6, section 3.2.9.