Further adjust dot_test threshold (numerics)

PiperOrigin-RevId: 803428406
This commit is contained in:
Jan Wassenberg 2025-09-05 05:49:35 -07:00 committed by Copybara-Service
parent 2b4c16e243
commit ad7d7a2713
1 changed files with 2 additions and 2 deletions

View File

@ -851,8 +851,8 @@ class DotStats {
ASSERT_LESS(kDouble, s_rels[kDouble].Max(), 8E-6f); ASSERT_LESS(kDouble, s_rels[kDouble].Max(), 8E-6f);
// Naive and OnlyTwoProd are considerably higher than others // Naive and OnlyTwoProd are considerably higher than others
ASSERT_INSIDE(kNaive, 1.5E-8f, s_rels[kNaive].Max(), 3080.f); ASSERT_INSIDE(kNaive, 1.5E-8f, s_rels[kNaive].Max(), 1.4E4f);
ASSERT_INSIDE(kOnlyTwoProd, 1.5E-8f, s_rels[kNaive].Max(), 3080.f); ASSERT_INSIDE(kOnlyTwoProd, 1.5E-8f, s_rels[kNaive].Max(), 1.4E4f);
// Kahan (FastTwoSum) is not much better here! // Kahan (FastTwoSum) is not much better here!
ASSERT_INSIDE(kKahan, 6E-10f, s_rels[kKahan].Max(), 0.7f); ASSERT_INSIDE(kKahan, 6E-10f, s_rels[kKahan].Max(), 0.7f);