Skip to content

Commit

Permalink
adjust comments in IR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzgoebel committed May 14, 2020
1 parent be24bc3 commit 8a2192e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cuda/test/solver/ir_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ TEST_F(Ir, ApplyWithIterativeInnerSolverIsEquivalentToRef)
solver->apply(lend(b), lend(x));
d_solver->apply(lend(d_b), lend(d_x));

// Note: 1e-13 instead of 1e-14, as the difference in the inner gmres
// Note: 1e-12 instead of 1e-14, as the difference in the inner gmres
// iteration gets amplified by the difference in IR.
GKO_ASSERT_MTX_NEAR(d_x, x, 1e-12);
}
Expand Down
2 changes: 1 addition & 1 deletion hip/test/solver/ir_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ TEST_F(Ir, ApplyWithIterativeInnerSolverIsEquivalentToRef)
solver->apply(lend(b), lend(x));
d_solver->apply(lend(d_b), lend(d_x));

// Note: 1e-13 instead of 1e-14, as the difference in the inner gmres
// Note: 1e-12 instead of 1e-14, as the difference in the inner gmres
// iteration gets amplified by the difference in IR.
GKO_ASSERT_MTX_NEAR(d_x, x, 1e-12);
}
Expand Down
2 changes: 1 addition & 1 deletion omp/test/solver/ir_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ TEST_F(Ir, ApplyWithIterativeInnerSolverIsEquivalentToRef)
solver->apply(lend(b), lend(x));
d_solver->apply(lend(d_b), lend(d_x));

// Note: 1e-13 instead of 1e-14, as the difference in the inner gmres
// Note: 1e-12 instead of 1e-14, as the difference in the inner gmres
// iteration gets amplified by the difference in IR.
GKO_ASSERT_MTX_NEAR(d_x, x, 1e-12);
}
Expand Down

0 comments on commit 8a2192e

Please sign in to comment.