[code-reflection] Integrated: [hat] F16 object creation within device code via F16.of

Juan Fumero jfumero at openjdk.org
Wed Oct 22 09:22:28 UTC 2025


On Wed, 22 Oct 2025 08:33:20 GMT, Juan Fumero <jfumero at openjdk.org> wrote:

> FP16 matmul supported. 
> 
> Example:
> 
> 
> F16Array.F16 ha = a.array(kernelContext.gix);
> F16Array.F16 initVal = F16.of( 2.1f);
> // store new half value
> ha.value(initVal.value());
> 
> 
> How to test:
> 
> 
> java @hat/test ffi-opencl hat.test.TestFP16Type -DHAT=SHOW_COMPILATION_PHASES -DTRACE_CALLSITES=true

This pull request has now been integrated.

Changeset: ae059ba1
Author:    Juan Fumero <jfumero at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/ae059ba17322b9d615cc932e3a26522ba73aa916
Stats:     862 lines in 19 files changed: 696 ins; 83 del; 83 mod

[hat] F16 object creation within device code via F16.of

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

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


More information about the babylon-dev mailing list