[code-reflection] RFR: Add buffer tagging and opt-out moduleOp backend
Ruby Chen
duke at openjdk.org
Fri Sep 5 21:15:48 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
-------------
Commit messages:
- 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=00
Stats: 272 lines in 10 files changed: 240 ins; 18 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