]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix routine-wv-2.c testcase
authorKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 2 Jun 2020 13:53:29 +0000 (06:53 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 22 Apr 2021 17:14:24 +0000 (10:14 -0700)
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.

libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c

index f526095243b005edbb459bfab8d58beabeb0fc92..e407b9f439940247650bde8d933ed3820a209374 100644 (file)
@@ -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):
index 1d951c1ff1b8be3f07c268c1c3d391af75d160d0..de167c55c76287c621be67e2357c080882dbd44d 100644 (file)
@@ -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);