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


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

Description

This function tests for completion of the asynchrounous 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 asynchrounous 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.0, section 3.2.6.