From f06c85c97ce996a6eb8050403d707db53b3359ab Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Mon, 10 Aug 2015 22:53:39 -0700 Subject: [PATCH] Tests: Now using smaller and prime sizes for tests --- tests/linalg/axpy.cpp | 4 ++-- tests/linalg/dot.cpp | 4 ++-- tests/linalg/gemv.cpp | 8 ++++---- tests/linalg/ger.cpp | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/linalg/axpy.cpp b/tests/linalg/axpy.cpp index 395d87e10..09f9ffad2 100644 --- a/tests/linalg/axpy.cpp +++ b/tests/linalg/axpy.cpp @@ -117,8 +117,8 @@ void test_impl(T epsilon, isc::driver::Context const & ctx) { using isaac::_; - int_t N = 24378; - int_t SUBN = 531; + int_t N = 10007; + int_t SUBN = 7; INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx); diff --git a/tests/linalg/dot.cpp b/tests/linalg/dot.cpp index 9531bc22e..983c3d10d 100644 --- a/tests/linalg/dot.cpp +++ b/tests/linalg/dot.cpp @@ -71,8 +71,8 @@ void test_impl(T epsilon, isc::driver::Context const & ctx) { using isaac::_; - int_t N =2 ; - int_t SUBN = 2; + int_t N = 10007; + int_t SUBN = 7; INIT_VECTOR(N, SUBN, 0, 1, cx, x, ctx); INIT_VECTOR(N, SUBN, 0, 1, cy, y, ctx); diff --git a/tests/linalg/gemv.cpp b/tests/linalg/gemv.cpp index b7e7f90f4..810a0b2db 100644 --- a/tests/linalg/gemv.cpp +++ b/tests/linalg/gemv.cpp @@ -92,10 +92,10 @@ void test_row_wise_reduction(T epsilon, simple_vector_base & cy, simple_matri template void test_impl(T epsilon, isc::driver::Context const & ctx) { - int_t M = 1324; - int_t N = 1143; - int_t SUBM = 184; - int_t SUBN = 145; + int_t M = 173; + int_t N = 241; + int_t SUBM = 7; + int_t SUBN = 11; INIT_VECTOR(M, SUBM, 7, 2, cy, y, ctx); INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx); diff --git a/tests/linalg/ger.cpp b/tests/linalg/ger.cpp index 0fdec5238..5605712a2 100644 --- a/tests/linalg/ger.cpp +++ b/tests/linalg/ger.cpp @@ -104,10 +104,10 @@ void test_impl(T epsilon, isc::driver::Context const & ctx) { using isaac::_; - int_t M = 1324; - int_t N = 1143; - int_t SUBM = 184; - int_t SUBN = 145; + int_t M = 173; + int_t N = 241; + int_t SUBM = 7; + int_t SUBN = 11; INIT_MATRIX(M, SUBM, 5, 3, N, SUBN, 7, 2, cA, A, ctx); INIT_MATRIX(M, SUBM, 5, 3, N, SUBN, 7, 2, cB, B, ctx);