summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-20 21:09:09 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-20 21:09:09 +0000
commit767b995e73c3fb0e450830d567670e22aaeeeac2 (patch)
treec600623f19cdf677258267b670c103dc16e90fe3 /libgomp
parent8523243ed8d3ccf4a08f971ef4211eef99f4376e (diff)
downloadgcc-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/ChangeLog6
-rw-r--r--libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c4
-rw-r--r--libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f902
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