public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6585] Document/verify another aspect of OpenACC 'async' semantics in 'libgomp.oacc-c-c++-common/data-3.c'
@ 2023-03-10 14:19 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-03-10 14:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:442d51a20ef13a8e6c080ca30bc37fc93b6bfac4

commit r13-6585-g442d51a20ef13a8e6c080ca30bc37fc93b6bfac4
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Fri Feb 24 16:21:31 2023 +0100

    Document/verify another aspect of OpenACC 'async' semantics in 'libgomp.oacc-c-c++-common/data-3.c'
    
    ... that I almost broke with later implementation changes.
    
            libgomp/
            * testsuite/libgomp.oacc-c-c++-common/data-3.c: Document/verify
            another aspect of OpenACC 'async' semantics.

Diff:
---
 libgomp/testsuite/libgomp.oacc-c-c++-common/data-3.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-3.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-3.c
index 5ec50b808a7..c422cbcd325 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/data-3.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/data-3.c
@@ -144,8 +144,8 @@ main (int argc, char **argv)
 
 #pragma acc exit data copyout (a[0:N]) copyout (b[0:N]) copyout (c[0:N]) \
   copyout (d[0:N]) copyout (e[0:N]) wait (1, 2, 3, 4) async (1)
-#pragma acc exit data delete (N)
-#pragma acc wait (1)
+#pragma acc exit data delete (N) wait(1) async(2)
+#pragma acc wait (2)
 
   for (i = 0; i < N; i++)
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-10 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 14:19 [gcc r13-6585] Document/verify another aspect of OpenACC 'async' semantics in 'libgomp.oacc-c-c++-common/data-3.c' Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).