diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-20 21:09:09 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-20 21:09:09 +0000 |
commit | 767b995e73c3fb0e450830d567670e22aaeeeac2 (patch) | |
tree | c600623f19cdf677258267b670c103dc16e90fe3 /libgomp | |
parent | 8523243ed8d3ccf4a08f971ef4211eef99f4376e (diff) | |
download | gcc-767b995e73c3fb0e450830d567670e22aaeeeac2.tar.gz |
* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane
vector_length.
* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229100 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-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 de3ca406ed3..0cb1e6161dd 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 757b8bec245..36469541972 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 63254318954..a1c43efa97c 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 |