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
This commit is contained in:
Nathan Sidwell 2015-10-20 21:09:09 +00:00 committed by Nathan Sidwell
parent fa60eeb970
commit 9ef83c047f
3 changed files with 9 additions and 3 deletions

View 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>

View 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;
}
}

View 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