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

Juan Fumero jfumero at openjdk.org
Wed Oct 22 08:45:12 UTC 2025


> 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

Juan Fumero has updated the pull request incrementally with one additional commit since the last revision:

  [hat] Refactor for F16 instrinsics

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/629/files
  - new: https://git.openjdk.org/babylon/pull/629/files/3cc61d26..a30fc0d2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=629&range=01
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=629&range=00-01

  Stats: 30 lines in 4 files changed: 11 ins; 2 del; 17 mod
  Patch: https://git.openjdk.org/babylon/pull/629.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/629/head:pull/629

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


More information about the babylon-dev mailing list