diff --git a/test/run_tests.py b/test/run_tests.py index 1dc2c91bd..40c7ae7ca 100755 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -367,19 +367,19 @@ def filter_csv( values, csv ): [ 'hbmm', gen + dtype + la + side + uplo + mn + ab + kd + matrixBC ], - [ 'herk', gen + dtype_real + la + he_matrix + trans + mn + ab + matrixC ], - [ 'herk', gen + dtype_complex + la + he_matrix + trans_nc + mn + ab + matrixC ], + [ 'herk', gen + dtype_real + la + he_matrix + trans + nk + ab + matrixC ], + [ 'herk', gen + dtype_complex + la + he_matrix + trans_nc + nk + ab + matrixC ], - [ 'her2k', gen + dtype_real + la + he_matrix + trans + mn + ab + matrixBC ], - [ 'her2k', gen + dtype_complex + la + he_matrix + trans_nc + mn + ab + matrixBC ], + [ 'her2k', gen + dtype_real + la + he_matrix + trans + nk + ab + matrixBC ], + [ 'her2k', gen + dtype_complex + la + he_matrix + trans_nc + nk + ab + matrixBC ], [ 'symm', gen + dtype + la + side + sy_matrix + mn + ab + matrixBC ], - [ 'syr2k', gen + dtype_real + la + sy_matrix + trans + mn + ab + matrixC ], - [ 'syr2k', gen + dtype_complex + la + sy_matrix + trans_nt + mn + ab + matrixC ], + [ 'syr2k', gen + dtype_real + la + sy_matrix + trans + nk + ab + matrixC ], + [ 'syr2k', gen + dtype_complex + la + sy_matrix + trans_nt + nk + ab + matrixC ], - [ 'syrk', gen + dtype_real + la + sy_matrix + trans + mn + ab + matrixBC ], - [ 'syrk', gen + dtype_complex + la + sy_matrix + trans_nt + mn + ab + matrixBC ], + [ 'syrk', gen + dtype_real + la + sy_matrix + trans + nk + ab + matrixBC ], + [ 'syrk', gen + dtype_complex + la + sy_matrix + trans_nt + nk + ab + matrixBC ], # todo: tbsm fails for nb=8 or 16 with --quick. [ 'tbsm', gen_no_nb + ' --nb 32' + dtype + la + side + uplo + transA + diag + mn + a + kd + matrixB ], diff --git a/test/test_her2k.cc b/test/test_her2k.cc index e72f734d7..23c012993 100644 --- a/test/test_her2k.cc +++ b/test/test_her2k.cc @@ -124,9 +124,9 @@ void test_her2k_work(Params& params, bool run) opA = conj_transpose( A ); opB = conj_transpose( B ); } - slate_assert(A.mt() == C.mt()); - slate_assert(B.mt() == C.mt()); - slate_assert(A.nt() == B.nt()); + slate_assert( opA.mt() == C.mt() ); + slate_assert( opB.mt() == C.mt() ); + slate_assert( opA.nt() == opB.nt() ); print_matrix("A", A, params); print_matrix("B", B, params); @@ -138,9 +138,9 @@ void test_her2k_work(Params& params, bool run) // If check run, perform first half of SLATE residual check. TestMatrix> X_alloc, Y_alloc, Z_alloc; if (check && ! ref) { - X_alloc = allocate_test_Matrix( false, true, An, nrhs, params ); - Y_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); - Z_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); + X_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Y_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Z_alloc = allocate_test_Matrix( false, true, k, nrhs, params ); auto& X = X_alloc.A; auto& Y = Y_alloc.A; diff --git a/test/test_herk.cc b/test/test_herk.cc index 747badc56..45764a67a 100644 --- a/test/test_herk.cc +++ b/test/test_herk.cc @@ -117,9 +117,9 @@ void test_herk_work(Params& params, bool run) // If check run, perform first half of SLATE residual check. TestMatrix> X_alloc, Y_alloc, Z_alloc; if (check && ! ref) { - X_alloc = allocate_test_Matrix( false, true, An, nrhs, params ); - Y_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); - Z_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); + X_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Y_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Z_alloc = allocate_test_Matrix( false, true, k, nrhs, params ); auto& X = X_alloc.A; auto& Y = Y_alloc.A; diff --git a/test/test_syr2k.cc b/test/test_syr2k.cc index 0a3d422f5..42163784b 100644 --- a/test/test_syr2k.cc +++ b/test/test_syr2k.cc @@ -122,9 +122,9 @@ void test_syr2k_work(Params& params, bool run) opA = conj_transpose( A ); opB = conj_transpose( B ); } - slate_assert(opA.mt() == C.mt()); - slate_assert(opB.mt() == C.mt()); - slate_assert(opA.nt() == B.nt()); + slate_assert( opA.mt() == C.mt() ); + slate_assert( opB.mt() == C.mt() ); + slate_assert( opA.nt() == opB.nt() ); print_matrix("A", A, params); print_matrix("B", B, params); @@ -136,9 +136,9 @@ void test_syr2k_work(Params& params, bool run) // If check run, perform first half of SLATE residual check. TestMatrix> X_alloc, Y_alloc, Z_alloc; if (check && ! ref) { - X_alloc = allocate_test_Matrix( false, true, An, nrhs, params ); - Y_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); - Z_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); + X_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Y_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Z_alloc = allocate_test_Matrix( false, true, k, nrhs, params ); auto& X = X_alloc.A; auto& Y = Y_alloc.A; diff --git a/test/test_syrk.cc b/test/test_syrk.cc index 6779aada2..2b0c30f3e 100644 --- a/test/test_syrk.cc +++ b/test/test_syrk.cc @@ -115,9 +115,9 @@ void test_syrk_work(Params& params, bool run) // If check run, perform first half of SLATE residual check. TestMatrix> X_alloc, Y_alloc, Z_alloc; if (check && ! ref) { - X_alloc = allocate_test_Matrix( false, true, An, nrhs, params ); - Y_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); - Z_alloc = allocate_test_Matrix( false, true, Am, nrhs, params ); + X_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Y_alloc = allocate_test_Matrix( false, true, n, nrhs, params ); + Z_alloc = allocate_test_Matrix( false, true, k, nrhs, params ); auto& X = X_alloc.A; auto& Y = Y_alloc.A;