[code-reflection] RFR: Opening Hat Dialect for Handling Barriers and Shared/Private Memory

Juan Fumero jfumero at openjdk.org
Thu Sep 18 14:26:45 UTC 2025


This patch creates a new dialect for HAT for handling barriers, local (or shared) memory declaration of types, and private memory declariton. It extends the `Op`s provided by code-reflection with a new `HatOp` the dialect.

It is enabled by default. 

TODO: We should move the Hat Config to a common place to be able to use it in the Hat core module, not just in the code gen.

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

Commit messages:
 - minor change
 - Merge branch 'code-reflection' into hat/dialect/ops
 - missing license header added
 - HAT Dialect for declaration of local vars in shared and private memory
 - Merge branch 'code-reflection' into hat/dialect/ops
 - Merge branch 'code-reflection' into hat/dialect/ops
 - Enable 2D conf
 - Cuda Kernel timers disabled
 - fix - cuda events
 - [hat] introduce CUDA timers - just for testing
 - ... and 10 more: https://git.openjdk.org/babylon/compare/0b9a8387...7941306d

Changes: https://git.openjdk.org/babylon/pull/560/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=560&range=00
  Stats: 796 lines in 20 files changed: 679 ins; 78 del; 39 mod
  Patch: https://git.openjdk.org/babylon/pull/560.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/560/head:pull/560

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


More information about the babylon-dev mailing list