Skip to content

Commit

Permalink
Merge Pull Request #9135 from cgcgcg/Trilinos/tekoTolerance
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Teko DiagonallyScaledPreconditioner test: Relax tolerance for CUDA
PR Author: cgcgcg
  • Loading branch information
trilinos-autotester authored May 14, 2021
2 parents 7af2dd6 + 2d72c37 commit 6d54560
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ TEUCHOS_UNIT_TEST(tDiagonallyScaledPreconditioner, invfactory_test)

Thyra::LinearOpTester<double> tester;
tester.show_all_tests(true);
tester.set_all_error_tol(5e-14);
tester.set_all_error_tol(8e-14);

const bool result = tester.compare( *invA, *invExactA, Teuchos::ptrFromRef(out));
if (!result) {
Expand Down Expand Up @@ -219,7 +219,7 @@ TEUCHOS_UNIT_TEST(tDiagonallyScaledPreconditioner, invfactory_test_tpetra)

Thyra::LinearOpTester<ST> tester;
tester.show_all_tests(true);
tester.set_all_error_tol(5e-14);
tester.set_all_error_tol(8e-14);

const bool result = tester.compare( *invA, *invExactA, Teuchos::ptrFromRef(out));
if (!result) {
Expand All @@ -243,7 +243,7 @@ TEUCHOS_UNIT_TEST(tDiagonallyScaledPreconditioner, application_test_row)
bool result;
Thyra::LinearOpTester<double> tester;
tester.show_all_tests(true);
tester.set_all_error_tol(5e-14);
tester.set_all_error_tol(8e-14);

// build operators and factories
RCP<Teko::InverseLibrary> invLib = Teko::InverseLibrary::buildFromStratimikos();
Expand Down Expand Up @@ -294,7 +294,7 @@ TEUCHOS_UNIT_TEST(tDiagonallyScaledPreconditioner, application_test_row_tpetra)
bool result;
Thyra::LinearOpTester<ST> tester;
tester.show_all_tests(true);
tester.set_all_error_tol(5.5e-14);
tester.set_all_error_tol(5.8e-14);

// build operators and factories
RCP<Teko::InverseLibrary> invLib = Teko::InverseLibrary::buildFromStratimikos();
Expand Down Expand Up @@ -349,7 +349,7 @@ TEUCHOS_UNIT_TEST(tDiagonallyScaledPreconditioner, application_test_column)
bool result;
Thyra::LinearOpTester<double> tester;
tester.show_all_tests(true);
tester.set_all_error_tol(5e-14);
tester.set_all_error_tol(8e-14);

// build operators and factories
RCP<Teko::InverseLibrary> invLib = Teko::InverseLibrary::buildFromStratimikos();
Expand Down

0 comments on commit 6d54560

Please sign in to comment.