Skip to content

Conversation

ravil-mobile
Copy link
Contributor

This patch introduces some missing FP conversion instructions in the ROCDL dialect for the GFX1250 arch.

Specifically:

Downscaling 8x packed F16, Bf16, Fp32 values to Fp8, Bf8, Fp4 with stochastic rounding
Tests:

Added lit-tests to check MLIR -> LLVM lowering

Copy link
Contributor

@krzysz00 krzysz00 left a comment

Choose a reason for hiding this comment

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

lgtm, approved, thank you

@amd-eochoalo amd-eochoalo merged commit 3f62407 into llvm:main Oct 7, 2025
10 checks passed
@ravil-mobile
Copy link
Contributor Author

Contributor

Thanks!

@ravil-mobile ravil-mobile deleted the ravil/rocdl-fp-conv branch October 8, 2025 14:36
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