[code-reflection] RFR: Add buffer tagging and opt-out moduleOp backend [v2]
Ruby Chen
duke at openjdk.org
Mon Sep 8 16:30:28 UTC 2025
> Add a tool to tag kernel buffers with RO, WO, RW, or NA.
>
> Currently, the result of the buffer tagger is only used to assert that it matches with the respective buffer annotations in the HAT kernels.
>
> Also make moduleOp an opt-out backend for HAT, which can be disabled by passing the flag `noModuleOp` when running HAT. For example, running the mandel example with the ffi-opencl backend and moduleOp disabled can be done with
>
> java @hat/run noModuleOp ffi-opencl mandel
Ruby Chen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
- Merge branch 'code-reflection' into buffer-tagging
- Clean up BufferTagger
- Merge branch 'openjdk:code-reflection' into buffer-tagging
- Merge branch 'openjdk:code-reflection' into buffer-tagging
- Add buffer tagging and opt-out moduleOp backend
-------------
Changes: https://git.openjdk.org/babylon/pull/548/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=548&range=01
Stats: 277 lines in 10 files changed: 243 ins; 20 del; 14 mod
Patch: https://git.openjdk.org/babylon/pull/548.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/548/head:pull/548
PR: https://git.openjdk.org/babylon/pull/548
More information about the babylon-dev
mailing list