Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: erman-gurses <erman@nod-labs.com>
  • Loading branch information
erman-gurses committed Oct 24, 2024
1 parent cd86b13 commit 8588813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linalg_ops/test_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ bool iree_test_utils_result_elements_agree(iree_test_utils_e2e_value_t expected,
case IREE_TEST_UTILS_VALUE_TYPE_F16:
if (actual.f16 == expected.f16) return true;
if (iree_test_utils_require_exact_results()) return false;
return fabsf(iree_math_f16_to_f32(actual.f16) -
iree_math_f16_to_f32(expected.f16)) <
return fabsf(iree_math_f16_to_f32(actual.f16) -
iree_math_f16_to_f32(expected.f16)) <
acceptable_fp_delta;
case IREE_TEST_UTILS_VALUE_TYPE_BF16:
if (actual.bf16_u16 == expected.bf16_u16) return true;
Expand Down

0 comments on commit 8588813

Please sign in to comment.