From 9ef83c047fe2cbeba27d814d2b7262b44688b128 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 20 Oct 2015 21:09:09 +0000 Subject: [PATCH] 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 --- libgomp/ChangeLog | 6 ++++++ libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c | 4 ++-- 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 + + * 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 Aleksander Ivanushenko 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 -- 2.30.2