[code-reflection] Integrated: [hat] Extensions of F16 (API and codegen)

Juan Fumero jfumero at openjdk.org
Fri Nov 7 08:37:36 UTC 2025


On Wed, 5 Nov 2025 12:08:58 GMT, Juan Fumero <jfumero at openjdk.org> wrote:

> - New dialect nodes to do `OpConvert` from `float` to `half` and `half` to `float`: note that conversions differ between CUDA and OpenCL
> - Add Fluent API for F16 operations (similar to `Float4`)
> - Add mixed float-precision operations (`F16` -> `float`)
> - Refactor of `F16` interface to a new file
> - Fix <struct/union> parenthesis in the codegen 
> - Initialization of `F16` values using the `float2F16` builtin and `Float16Tofloat` also allowed on the GPU

This pull request has now been integrated.

Changeset: 9fe9c757
Author:    Juan Fumero <jfumero at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/9fe9c75726bb673221bc87f1de1abb208caaf0a5
Stats:     1155 lines in 21 files changed: 1004 ins; 72 del; 79 mod

[hat] Extensions of F16 (API and codegen)

-------------

PR: https://git.openjdk.org/babylon/pull/663


More information about the babylon-dev mailing list