8000 Make `iree-codegen-gpu-native-math-precision` a NOP and warn of imminent removal. by bjacob · Pull Request #20523 · iree-org/iree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make iree-codegen-gpu-native-math-precision a NOP and warn of imminent removal. #20523

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

bjacob
Copy link
Contributor
@bjacob bjacob commented Apr 10, 2025

#20074 removed the last significant semantic impact of this flag on ROCm, making it effectively a NOP on ROCm. This PR makes it a NOP everywhere and warns of imminent removal.

Signed-off-by: Benoit Jacob <jacob.benoit.1@gmail.com>
@bjacob bjacob marked this pull request as ready for review April 10, 2025 19:48
@bjacob bjacob requested a review from hanhanW as a code owner April 10, 2025 19:48
@bjacob bjacob enabled auto-merge (squash) April 10, 2025 20:31
@bjacob bjacob disabled auto-merge April 10, 2025 20:31
Copy link
Collaborator
@nithinsubbiah nithinsubbiah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wave kernels still use this flag for performance, I'll let @raikonenfnu comment on it

@bjacob
Copy link
Contributor Author
bjacob commented Apr 11, 2025

Discussed offline with @raikonenfnu:

This behavior is now the default on ROCm. That is why this flag isn't doing anything anymore on ROCm, as you can see the diff is a NFC on ROCm because the return false that are being dropped don't change the fact that we return false anyway on ROCm.

@bjacob bjacob merged commit 01f2d03 into iree-org:main Apr 11, 2025
58 of 60 checks passed
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.

3 participants
0