public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-10] Fix warning messages in libgomp.oacc-c++/privatized-ref-[23].C testcases
@ 2020-09-16 10:30 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2020-09-16 10:30 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:15967a2016248eb04ef493af4e4889ceef9890b3
commit 15967a2016248eb04ef493af4e4889ceef9890b3
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date: Wed Sep 16 03:18:54 2020 -0700
Fix warning messages in libgomp.oacc-c++/privatized-ref-[23].C testcases
More workers are requested than are supported, resulting in warning messages
as the number of workers is overridden.
2020-09-16 Kwok Cheung Yeung <kcy@codesourcery.com>
libgomp/
* testsuite/libgomp.oacc-c++/privatized-ref-2.C (workers, vectors):
Reduce number of workers to 16.
* testsuite/libgomp.oacc-c++/privatized-ref-3.C (workers, vectors):
Likewise.
Diff:
---
libgomp/ChangeLog.omp | 7 +++++++
libgomp/testsuite/libgomp.oacc-c++/privatized-ref-2.C | 4 ++--
libgomp/testsuite/libgomp.oacc-c++/privatized-ref-3.C | 4 ++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 4f56f553782..6e313aaae9e 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,10 @@
+2020-09-16 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * testsuite/libgomp.oacc-c++/privatized-ref-2.C (workers, vectors):
+ Reduce number of workers to 16.
+ * testsuite/libgomp.oacc-c++/privatized-ref-3.C (workers, vectors):
+ Likewise.
+
2020-09-15 Tobias Burnus <tobias@codesourcery.com>
Backport from mainline
diff --git a/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-2.C b/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-2.C
index 3884f163132..052ccc51d6a 100644
--- a/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-2.C
+++ b/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-2.C
@@ -7,7 +7,7 @@ void workers (void)
double res[65536];
int i;
-#pragma acc parallel copyout(res) num_gangs(64) num_workers(64)
+#pragma acc parallel copyout(res) num_gangs(64) num_workers(16)
{
int i, j;
#pragma acc loop gang
@@ -34,7 +34,7 @@ void vectors (void)
double res[65536];
int i;
-#pragma acc parallel copyout(res) num_gangs(64) num_workers(64)
+#pragma acc parallel copyout(res) num_gangs(64) num_workers(16)
{
int i, j;
#pragma acc loop gang worker
diff --git a/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-3.C b/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-3.C
index c1a10cba31b..d887178d507 100644
--- a/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-3.C
+++ b/libgomp/testsuite/libgomp.oacc-c++/privatized-ref-3.C
@@ -7,7 +7,7 @@ void workers (void)
double res[65536];
int i;
-#pragma acc parallel copyout(res) num_gangs(64) num_workers(64)
+#pragma acc parallel copyout(res) num_gangs(64) num_workers(16)
{
int i, j;
int tmpvar;
@@ -34,7 +34,7 @@ void vectors (void)
double res[65536];
int i;
-#pragma acc parallel copyout(res) num_gangs(64) num_workers(64)
+#pragma acc parallel copyout(res) num_gangs(64) num_workers(16)
{
int i, j;
int tmpvar;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-16 10:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 10:30 [gcc/devel/omp/gcc-10] Fix warning messages in libgomp.oacc-c++/privatized-ref-[23].C testcases 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).