aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-11-14 18:19:55 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-11-14 18:19:55 +0100
commitb1bf6c522f1631e6094465996ddd19a5d9c7941f (patch)
treee46d7d864872c19dd5f5bf2496b3d898fce31f3f
parentd8607f259c52bbf0246a09db86dfeee64698f75f (diff)
downloadgcc-b1bf6c522f1631e6094465996ddd19a5d9c7941f.zip
gcc-b1bf6c522f1631e6094465996ddd19a5d9c7941f.tar.gz
gcc-b1bf6c522f1631e6094465996ddd19a5d9c7941f.tar.bz2
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
-rw-r--r--libgomp/ChangeLog7
-rw-r--r--libgomp/testsuite/libgomp.c/examples-4/e.54.2.c2
-rw-r--r--libgomp/testsuite/libgomp.fortran/examples-4/e.54.2.f902
3 files changed, 9 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 0662415..737cd24 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 a4fdca6..8bbbc35 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 7daed69..6a83018 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