[code-reflection] RFR: [hat] Example of HAT for 2D Matmul with register tiling

Juan Fumero jfumero at openjdk.org
Wed Oct 1 11:21:18 UTC 2025


There was an example with accesses to local memory specific to the CUDA programming model. This has been fixed and now it is compatible with both the OpenCL and CUDA backends of HAT. 

How to run?

HAT=SHOW_CODE java @hat/run ffi-opencl matmul 2DREGISTERTILING

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

Commit messages:
 - [hat] Example of HAT for 2D Matmul with register tiling

Changes: https://git.openjdk.org/babylon/pull/590/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=590&range=00
  Stats: 295 lines in 5 files changed: 196 ins; 75 del; 24 mod
  Patch: https://git.openjdk.org/babylon/pull/590.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/590/head:pull/590

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


More information about the babylon-dev mailing list