* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 2015 21:09:09 +0000 (21:09 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 2015 21:09:09 +0000 (21:09 +0000)
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

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c
libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90

index de3ca40..0cb1e61 100644 (file)
@@ -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>
 
index 757b8be..3646954 100644 (file)
@@ -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
+}
index 6325431..a1c43ef 100644 (file)
@@ -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