Skip to content

Commit

Permalink
PR #17383: Parameterize elemental_ir_emitter_test.cc float tests
Browse files Browse the repository at this point in the history
Imported from GitHub PR #17383

`elemental_ir_emitter_test.cc` contains multiple similar tests for  `bf16`, `f8e4m3fnuz` and , `f8e5m2fnuz`.

Changes:
- Parameterize the float tests in elemental_ir_emitter_test.cc.
- Add additional types to the list of tested types - `f8e5m2`, `f8e4m3fn`, `f8e4m3b11fnuz`.

Some tests failed for newly added types. Temporary use `GTEST_SKIP` for such cases:

Related issues:
- #17323
- #17324

Copybara import of the project:

--
47dcfcf by Alexander Pivovarov <[email protected]>:

Parameterize elemental_ir_emitter_test.cc float tests

Merging this change closes #17383

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17383 from apivovarov:param_elemental_ir_emitter_test 47dcfcf
PiperOrigin-RevId: 676627549
  • Loading branch information
apivovarov authored and Google-ML-Automation committed Sep 20, 2024
1 parent a6e4bde commit eab9f1a
Showing 1 changed file with 181 additions and 428 deletions.
Loading

0 comments on commit eab9f1a

Please sign in to comment.