This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] TosaToLinalg: Lower TOSA.Cast via RoundEven according to TOSA spec 0.60.0
ClosedPublic

Authored by mgehre-amd on Mar 22 2023, 2:59 AM.

Details

Summary

TOSA now specifies rounding of ties to even in section 1.8.2., "Main Inference Profile"

Diff Detail

Event Timeline

mgehre-amd created this revision.Mar 22 2023, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 2:59 AM
mgehre-amd requested review of this revision.Mar 22 2023, 2:59 AM
eric-k256 accepted this revision.Mar 22 2023, 3:23 PM
eric-k256 added a reviewer: rsuderman.

Added Rob as an additional reviewer. As mentioned, this matches with the TOSA specification, and looks like a nice simplification at the same time.

This revision is now accepted and ready to land.Mar 22 2023, 3:23 PM
rsuderman accepted this revision.Mar 22 2023, 6:08 PM