Skip to content

[mlir][spirv] Audit numerical correctness of conversions to SPIR-V #73459

Open
@kuhar

Description

@kuhar

The detailed FP semantics of SPIR-V ops is often decoupled from the op specification. For example, OpGroupNonUniForm "FMin" does not specify how +/- 0.0 and NaN values are handled. The exact FP numerical precision requirements are outlined in https://registry.khronos.org/vulkan/specs/1.3-extensions/html/chap52.html#spirvenv-precision-operation and may change depending on execution modes ro fast math flags.

We should audit the conversions to the SPIR-V dialect for floating point precision semantics (e.g., {arith, vector, gpu}-to-spirv), identify the gaps, and resolve them. This is tracking issue for this umbrella of work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions