From: Kwok Cheung Yeung Date: Tue, 2 Jun 2020 13:53:29 +0000 (-0700) Subject: Fix routine-wv-2.c testcase X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=973fef69cf709c4eeb5814b8ad8bc8e9843c99f0;p=thirdparty%2Fgcc.git Fix routine-wv-2.c testcase 2020-06-02 Kwok Cheung Yeung libgomp/ * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c (DoWorkVec): Replace openacc_amdgcn_accel_selected selector with openacc_radeon_accel_selected. --- diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index f526095243b0..e407b9f43994 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,9 @@ +2020-06-02 Kwok Cheung Yeung + + * 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 * 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 1d951c1ff1b8..de167c55c762 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);