diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-10-20 21:09:09 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-10-20 21:09:09 +0000 |
commit | 9ef83c047fe2cbeba27d814d2b7262b44688b128 (patch) | |
tree | c600623f19cdf677258267b670c103dc16e90fe3 | |
parent | fa60eeb9706dc937fc565b4c6d7fe7efad36c733 (diff) | |
download | gcc-9ef83c047fe2cbeba27d814d2b7262b44688b128.zip gcc-9ef83c047fe2cbeba27d814d2b7262b44688b128.tar.gz gcc-9ef83c047fe2cbeba27d814d2b7262b44688b128.tar.bz2 |
reduction-5.c: Set sane vector_length.
* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane
vector_length.
* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
From-SVN: r229100
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c | 4 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index de3ca40..0cb1e61 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2015-10-20 Nathan Sidwell <nathan@codesourcery.com> + + * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane + vector_length. + * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. + 2015-10-14 Ilya Verbin <ilya.verbin@intel.com> Aleksander Ivanushenko <aleksander.ivanushenko@intel.com> diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c index 757b8be..3646954 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c @@ -8,7 +8,7 @@ main (void) int n = 100; int i; -#pragma acc parallel vector_length (1000) +#pragma acc parallel vector_length (32) #pragma acc loop reduction (+:s1, s2) for (i = 0; i < n; i++) { @@ -29,4 +29,4 @@ main (void) abort (); return 0; -}
\ No newline at end of file +} diff --git a/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 b/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 index 6325431..a1c43ef 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 @@ -11,7 +11,7 @@ program reduction vs1 = 0 vs2 = 0 - !$acc parallel vector_length (1000) + !$acc parallel vector_length (32) !$acc loop reduction(+:s1, s2) do i = 1, n s1 = s1 + 1 |