iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.47k stars 548 forks source link

[util] Add serialization support for `f64` resources #17640

Closed zero9178 closed 2 weeks ago

zero9178 commented 2 weeks ago

Serializing f64 resources was strangely omitted from the logic while f32 and f16 support is present. Running things with f64 is certainly not a good idea in general but relatively well-supported in the LLVM backend. Our use-case is the bring-up of a custom compiler backend where f64 happens to be the most trivial element type to support.