Support ClampStochasticRound FP16/BF16 to E2M1#3667
Support ClampStochasticRound FP16/BF16 to E2M1#3667vmaksimo wants to merge 1 commit intoKhronosGroup:mainfrom
Conversation
Add missing support of Float4/E2M1 as a valid destination type for `OpClampStochasticRoundFToFINTEL` builtin - the only thing left to fully support `SPV_INTEL_fp_conversions` extension. Updated the design doc accordingly. Spec: https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_fp_conversions.asciidoc AI-assisted: Claude Sonnet 4.6 (commercial SaaS)
|
Aren't we always clamping (per OCP spec) when converting to E2M1? |
@MrSidims do you mean, should clamping happen even for I'm actually not sure how to treat the OCP MX spec here:
|
|
@MrSidims friendly-ping, have i answered your concern/question? |
|
Ah, my review is not blocking here. It makes sense to add missing instructions. I'm just trying to clarify this. Because, lets say, |
|
Thanks, Dmitry! For now I see no blocks for merging, thanks for clarifying that. |
Add missing support of Float4/E2M1 as a valid destination type for
OpClampStochasticRoundFToFINTELbuiltin - the only thing left to fully supportSPV_INTEL_fp_conversionsextension.Updated the design doc accordingly.
Spec:
https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_fp_conversions.asciidoc
AI-assisted: Claude Sonnet 4.6 (commercial SaaS)