diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-14 17:19:55 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-14 17:19:55 +0000 |
commit | f3d688fbc4887b4e99d27a35d077d731f51303e7 (patch) | |
tree | e46d7d864872c19dd5f5bf2496b3d898fce31f3f /libgomp | |
parent | 69a2f316d3bbd7b879b2487ea79b2179af0a7d4f (diff) |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 7 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/examples-4/e.54.2.c | 2 | ||||
-rw-r--r-- | 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 <jakub@redhat.com> + + * 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 <andrey.turetskiy@intel.com> Ilya Verbin <ilya.verbin@intel.com> 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 |