[gcc/devel/omp/gcc-10] Fix routine-wv-2.c testcase
Kwok Yeung
kcy@gcc.gnu.org
Tue Jun 9 22:41:19 GMT 2020
https://gcc.gnu.org/g:b1f4e022e39753087cbf598387f89c2e82fb4247
commit b1f4e022e39753087cbf598387f89c2e82fb4247
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 4df45a902ea..011bbe6be99 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);
More information about the Gcc-cvs
mailing list