Skip to content

Commit

Permalink
TEMP: Make bt_reduction_to_band test yield explicitly after taking a …
Browse files Browse the repository at this point in the history
…scoped trace to test gtest patch
  • Loading branch information
msimberg committed Jan 27, 2025
1 parent 3db69cd commit a373db0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/eigensolver/test_bt_reduction_to_band.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ void testBackTransformationReductionToBand(SizeType m, SizeType n, SizeType mb,
mat_c_h.waitLocalTiles();
SCOPED_TRACE(::testing::Message() << "m = " << m << ", n = " << n << ", mb = " << mb << ", nb = " << nb
<< ", b = " << b);
pika::this_thread::yield();
const auto error = (mat_c_h.size().rows() + 1) * dlaf::test::TypeUtilities<T>::error;
CHECK_MATRIX_NEAR(result, mat_c_h, error, error);
}
Expand Down Expand Up @@ -234,6 +235,7 @@ void testBackTransformationReductionToBand(comm::CommunicatorGrid& grid, SizeTyp
mat_c_h.waitLocalTiles();
SCOPED_TRACE(::testing::Message() << grid << ", m = " << m << ", n = " << n << ", mb = " << mb
<< ", nb = " << nb << ", b = " << b);
pika::this_thread::yield();
const auto error = (mat_c_h.size().rows() + 1) * dlaf::test::TypeUtilities<T>::error;
CHECK_MATRIX_NEAR(result, mat_c_h, error, error);
}
Expand Down

0 comments on commit a373db0

Please sign in to comment.