public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Fix routine-wv-2.c testcase
@ 2021-05-13 16:15 Kwok Yeung
  0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:973fef69cf709c4eeb5814b8ad8bc8e9843c99f0

commit 973fef69cf709c4eeb5814b8ad8bc8e9843c99f0
Author: Kwok Cheung Yeung <kcy@codesourcery.com>
Date:   Tue Jun 2 06:53:29 2020 -0700

    Fix routine-wv-2.c testcase
    
    2020-06-02  Kwok Cheung Yeung  <kcy@codesourcery.com>
    
            libgomp/
            * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c (DoWorkVec):
            Replace openacc_amdgcn_accel_selected selector with
            openacc_radeon_accel_selected.

Diff:
---
 libgomp/ChangeLog.omp                                      | 6 ++++++
 libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index f526095243b..e407b9f4399 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,9 @@
+2020-06-02  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	* testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c (DoWorkVec):
+	Replace openacc_amdgcn_accel_selected selector with
+	openacc_radeon_accel_selected.
+
 2020-05-21  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
 	* testsuite/libgomp.oacc-fortran/parallel-dims-aux.c (aux_gang):
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c
index 1d951c1ff1b..de167c55c76 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c
@@ -43,7 +43,7 @@ int DoWorkVec (int nw)
 
   printf ("spawning %d ...", nw); fflush (stdout);
 
-  /* { dg-warning "region contains vector partitioned code but is not vector partitioned" "vector" { target openacc_amdgcn_accel_selected } 47 } */
+  /* { dg-warning "region contains vector partitioned code but is not vector partitioned" "vector" { target openacc_radeon_accel_selected } 47 } */
 #pragma acc parallel num_workers(nw) vector_length (NUM_VECTORS) copy (ary)
   {
     WorkVec ((int *)ary, WIDTH, HEIGHT, nw, NUM_VECTORS);


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

only message in thread, other threads:[~2021-05-13 16:15 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:15 [gcc/devel/omp/gcc-11] Fix routine-wv-2.c testcase 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).