8000 Deprecate `--iree-codegen-gpu-native-math-precision` by bjacob · Pull Request #20299 · iree-org/iree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Deprecate --iree-codegen-gpu-native-math-precision #20299

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
Mar 18, 2025

Conversation

bjacob
Copy link
Contributor
@bjacob bjacob commented Mar 18, 2025

This was mostly used on ROCm and WebGPU.

On ROCm, over the past month we have made this be essentially the default behavior, so the flag is essentially not needed anymore. The last thing required before we can drop usage of the flag on ROCm is #20074.

On WebGPU, this PR makes this be the default behavior like on ROCm, so this PR also drops the flag. The WGSL spec issue gpuweb/gpuweb#5109 mentioned in the comment explains the problem. It has also been discussed in the past as #11321.

@bjacob bjacob marked this pull request as ready for review March 18, 2025 17:52
Signed-off-by: Benoit Jacob <jacob.benoit.1@gmail.com>
@bjacob bjacob force-pushed the deprecate-native-math branch from 091d76e to c71e275 Compare March 18, 2025 19:11
@bjacob bjacob merged commit 7cd0ccd into iree-org:main Mar 18, 2025
41 of 42 checks passed
@bjacob
Copy link
Contributor Author
bjacob commented Mar 18, 2025

Anyone finding this from the new warning on ROCm: you can almost certainly go ahead and just drop the --iree-codegen-gpu-native-math-precision flag in your command lines. Technically #20074 is needed for this to be a NFC change but should be safe already.

Eliasj42 pushed a commit that referenced this pull request Mar 24, 2025
This was mostly used on ROCm and WebGPU.

On ROCm, over the past month we have made this be essentially the
default behavior, so the flag is essentially not needed anymore. The
last thing required before we can drop usage of the flag on ROCm is
#20074.

On WebGPU, this PR makes this be the default behavior like on ROCm, so
this PR also drops the flag. The WGSL spec issue
gpuweb/gpuweb#5109 mentioned in the comment
explains the problem. It has also been discussed in the past as
#11321.

Signed-off-by: Benoit Jacob <jacob.benoit.1@gmail.com>
Signed-off-by: Elias Joseph <eljoseph@amd.com>
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
0