From b1bf6c522f1631e6094465996ddd19a5d9c7941f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 14 Nov 2014 18:19:55 +0100 Subject: [PATCH] e.54.2.c (main): Use N / 8 instead of 32 as block_size. * libgomp.c/examples-4/e.54.2.c (main): Use N / 8 instead of 32 as block_size. * libgomp.fortran/examples-4/e.54.2.f90 (e_54_1): Use n / 8 instead of 32 as block_size. From-SVN: r217579 --- libgomp/ChangeLog | 7 +++++++ libgomp/testsuite/libgomp.c/examples-4/e.54.2.c | 2 +- libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f90 | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 0662415f255..737cd2476b6 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2014-11-14 Jakub Jelinek + + * libgomp.c/examples-4/e.54.2.c (main): Use N / 8 instead + of 32 as block_size. + * libgomp.fortran/examples-4/e.54.2.f90 (e_54_1): Use n / 8 + instead of 32 as block_size. + 2014-11-13 Andrey Turetskiy Ilya Verbin diff --git a/libgomp/testsuite/libgomp.c/examples-4/e.54.2.c b/libgomp/testsuite/libgomp.c/examples-4/e.54.2.c index a4fdca6ed60..8bbbc355b17 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/e.54.2.c +++ b/libgomp/testsuite/libgomp.c/examples-4/e.54.2.c @@ -61,7 +61,7 @@ int main () init (v1, v2, N); p1 = dotprod_ref (v1, v2, N); - p2 = dotprod (v1, v2, N, 32, 2, 8); + p2 = dotprod (v1, v2, N, N / 8, 2, 8); check (p1, p2); diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f90 index 7daed69481e..6a830184ded 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f90 @@ -59,7 +59,7 @@ program e_54_1 allocate (B(n), C(n)) call init (B, C, n) ref = dotprod_ref (B, C, n) - d = dotprod (B, C, n, 32, 2, 8) + d = dotprod (B, C, n, n / 8, 2, 8) call check (ref, d) deallocate (B, C) end program -- 2.30.2