]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openacc-runtime-library-routines/accasynctestall.rst
2191a26745bc284bfb1642ed5f3159462e4450c7
[thirdparty/gcc.git] / libgomp / doc / openacc-runtime-library-routines / accasynctestall.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _acc_async_test_all:
7
8 acc_async_test_all -- Tests for completion of all asynchronous operations.
9 **************************************************************************
10
11 Description
12 This function tests for completion of all asynchronous operations.
13 In C/C++, a non-zero value will be returned to indicate all asynchronous
14 operations have completed. While Fortran will return a ``true``. If
15 any asynchronous operation has not completed, C/C++ returns a zero and
16 Fortran returns a ``false``.
17
18 C/C++:
19 .. list-table::
20
21 * - *Prototype*:
22 - ``int acc_async_test_all(void);``
23
24 Fortran:
25 .. list-table::
26
27 * - *Interface*:
28 - ``function acc_async_test()``
29 * -
30 - ``logical acc_get_device_num``
31
32 Reference:
33 :openacc:`2.6`, section
34 3.2.10.