Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CPU] Add support for converting math.powf from fp16 to fp32. #15927

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented Dec 14, 2023

There is a bug in polynomial approximation. It generates NAN and INF for fp16 types. This is a workaround to get it functional. See #15661 for more details.

Also rework on the maximumf test. The generic op is not a common input because it uses outs while there are no reduction loops.

There is a bug in polynomial approximation. It generates `NAN` and `INF`
for fp16 types. This is a workaround to get it functional.

Also rework on the maximumf test. The generic op is not a common input
because it uses `outs` while there are no reduction loops.
@hanhanW hanhanW merged commit a4a6b4b into iree-org:main Dec 14, 2023
57 checks passed
@hanhanW hanhanW deleted the extf branch December 14, 2023 20:36
ramiro050 pushed a commit to ramiro050/iree that referenced this pull request Dec 19, 2023
…rg#15927)

There is a bug in polynomial approximation. It generates `NAN` and `INF`
for fp16 types. This is a workaround to get it functional. See
iree-org#15661 for more details.

Also rework on the maximumf test. The generic op is not a common input
because it uses `outs` while there are no reduction loops.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants