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 will be returned to indicate the specified asynchronous operation has completed. While Fortran will return a true. If the asynchronous operation has not completed, C/C++ returns a zero and Fortran returns a 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.