public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix libgomp.oacc-fortran/lib-13.f90 async bug
@ 2021-05-13 16:11 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a0fc3e5c980812f0c4c1fdd21358a11ec790e208
commit a0fc3e5c980812f0c4c1fdd21358a11ec790e208
Author: Julian Brown <julian@codesourcery.com>
Date: Tue Sep 3 07:57:05 2019 -0700
Fix libgomp.oacc-fortran/lib-13.f90 async bug
libgomp/
* testsuite/libgomp.oacc-fortran/lib-13.f90: End data region after
wait API calls.
Diff:
---
libgomp/ChangeLog.omp | 5 +++++
libgomp/testsuite/libgomp.oacc-fortran/lib-13.f90 | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 260d98578d1..f026be5ad58 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2019-09-05 Julian Brown <julian@codesourcery.com>
+
+ * testsuite/libgomp.oacc-fortran/lib-13.f90: End data region after
+ wait API calls.
+
2019-08-08 Julian Brown <julian@codesourcery.com>
* plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/lib-13.f90 b/libgomp/testsuite/libgomp.oacc-fortran/lib-13.f90
index deb2c288604..f6bd27a4701 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/lib-13.f90
+++ b/libgomp/testsuite/libgomp.oacc-fortran/lib-13.f90
@@ -19,11 +19,10 @@ program main
end do
!$acc end parallel
end do
- !$acc end data
call acc_wait_all_async (nprocs + 1)
-
call acc_wait (nprocs + 1)
+ !$acc end data
if (acc_async_test (1) .neqv. .TRUE.) stop 1
if (acc_async_test (2) .neqv. .TRUE.) stop 2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:11 [gcc/devel/omp/gcc-11] Fix libgomp.oacc-fortran/lib-13.f90 async bug Kwok Yeung
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).