[code-reflection] RFR: Opening Hat Dialect for Handling Barriers and Shared/Private Memory [v10]
Juan Fumero
jfumero at openjdk.org
Wed Sep 24 09:12:48 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.
Juan Fumero has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 30 commits:
- [hat] Dialect fixed after last merge
- Merge branch 'code-reflection' into hat/dialect/ops
- [hat] Eliminate the call to opName
- [hat] Move dialectify passes to dialectify phases for HAT
- minor cleanup
- [hat] First prototype with dialects working
- [hat] dialects - refactor
- [hat] dialect for thread-accessors
- [hat][wip] Dialect for Global Size
- [hat][wip] Adding dialect for GPU thread-ids
- ... and 20 more: https://git.openjdk.org/babylon/compare/b5b2a61e...1285ecf7
-------------
Changes: https://git.openjdk.org/babylon/pull/560/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=560&range=09
Stats: 2079 lines in 35 files changed: 1896 ins; 116 del; 67 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