diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-09-28 06:35:23 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-09-28 06:35:23 +0000 |
commit | 7d6206fe298f420e2292df78ab3480caa98cd1aa (patch) | |
tree | 18e39bdbf99b623c52c6e6b563c78072b75badc1 /libgomp/testsuite | |
parent | 84f761239dff2e247c489fe39fff9846619f455c (diff) | |
download | gcc-7d6206fe298f420e2292df78ab3480caa98cd1aa.zip gcc-7d6206fe298f420e2292df78ab3480caa98cd1aa.tar.gz gcc-7d6206fe298f420e2292df78ab3480caa98cd1aa.tar.bz2 |
Fix libgomp.oacc-c-c++-common/loop-g-{1,2}.c for non-nvidia devices
2017-09-28 Tom de Vries <tom@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
vector_length(32) clause from acc parallel directive.
* testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same.
From-SVN: r253249
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c | 2 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c index 7bff6cd..ae1d588 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-1.c @@ -15,7 +15,7 @@ int main () for (ix = 0; ix < N;ix++) ary[ix] = -1; -#pragma acc parallel num_gangs(32) vector_length(32) copy(ary) copy(ondev) +#pragma acc parallel num_gangs(32) copy(ary) copy(ondev) { #pragma acc loop gang for (unsigned ix = 0; ix < N; ix++) diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c index 92b82a0..c06d861 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-g-2.c @@ -15,7 +15,7 @@ int main () for (ix = 0; ix < N;ix++) ary[ix] = -1; -#pragma acc parallel num_gangs(32) vector_length(32) copy(ary) copy(ondev) +#pragma acc parallel num_gangs(32) copy(ary) copy(ondev) { #pragma acc loop gang (static:1) for (unsigned ix = 0; ix < N; ix++) |