Tests: Now using smaller and prime sizes for tests
This commit is contained in:
@@ -117,8 +117,8 @@ void test_impl(T epsilon, isc::driver::Context const & ctx)
|
|||||||
{
|
{
|
||||||
using isaac::_;
|
using isaac::_;
|
||||||
|
|
||||||
int_t N = 24378;
|
int_t N = 10007;
|
||||||
int_t SUBN = 531;
|
int_t SUBN = 7;
|
||||||
|
|
||||||
|
|
||||||
INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx);
|
INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx);
|
||||||
|
@@ -71,8 +71,8 @@ void test_impl(T epsilon, isc::driver::Context const & ctx)
|
|||||||
{
|
{
|
||||||
using isaac::_;
|
using isaac::_;
|
||||||
|
|
||||||
int_t N =2 ;
|
int_t N = 10007;
|
||||||
int_t SUBN = 2;
|
int_t SUBN = 7;
|
||||||
|
|
||||||
INIT_VECTOR(N, SUBN, 0, 1, cx, x, ctx);
|
INIT_VECTOR(N, SUBN, 0, 1, cx, x, ctx);
|
||||||
INIT_VECTOR(N, SUBN, 0, 1, cy, y, ctx);
|
INIT_VECTOR(N, SUBN, 0, 1, cy, y, ctx);
|
||||||
|
@@ -92,10 +92,10 @@ void test_row_wise_reduction(T epsilon, simple_vector_base<T> & cy, simple_matri
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
void test_impl(T epsilon, isc::driver::Context const & ctx)
|
void test_impl(T epsilon, isc::driver::Context const & ctx)
|
||||||
{
|
{
|
||||||
int_t M = 1324;
|
int_t M = 173;
|
||||||
int_t N = 1143;
|
int_t N = 241;
|
||||||
int_t SUBM = 184;
|
int_t SUBM = 7;
|
||||||
int_t SUBN = 145;
|
int_t SUBN = 11;
|
||||||
|
|
||||||
INIT_VECTOR(M, SUBM, 7, 2, cy, y, ctx);
|
INIT_VECTOR(M, SUBM, 7, 2, cy, y, ctx);
|
||||||
INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx);
|
INIT_VECTOR(N, SUBN, 5, 3, cx, x, ctx);
|
||||||
|
@@ -104,10 +104,10 @@ void test_impl(T epsilon, isc::driver::Context const & ctx)
|
|||||||
{
|
{
|
||||||
using isaac::_;
|
using isaac::_;
|
||||||
|
|
||||||
int_t M = 1324;
|
int_t M = 173;
|
||||||
int_t N = 1143;
|
int_t N = 241;
|
||||||
int_t SUBM = 184;
|
int_t SUBM = 7;
|
||||||
int_t SUBN = 145;
|
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, cA, A, ctx);
|
||||||
INIT_MATRIX(M, SUBM, 5, 3, N, SUBN, 7, 2, cB, B, ctx);
|
INIT_MATRIX(M, SUBM, 5, 3, N, SUBN, 7, 2, cB, B, ctx);
|
||||||
|
Reference in New Issue
Block a user