[code-reflection] RFR: Add buffer tagging and opt-out moduleOp backend [v2]

duke duke at openjdk.org
Mon Sep 8 16:48:27 UTC 2025


On Mon, 8 Sep 2025 16:30:28 GMT, Ruby Chen <duke at openjdk.org> wrote:

>> 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

@rbrchen 
Your change (at version 75e5fc38ccb46c6e2a067fb471b2cfb0b63a6ac5) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/babylon/pull/548#issuecomment-3267130836


More information about the babylon-dev mailing list