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

Ruby Chen duke at openjdk.org
Mon Sep 8 16:53:30 UTC 2025


On Thu, 4 Sep 2025 22:00:21 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

This pull request has now been integrated.

Changeset: 4cd871ef
Author:    Ruby Chen <ruby.r.chen at gmail.com>
Committer: Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/4cd871eff7c9fd85a78953e3a3b9b4a0e7bde3c5
Stats:     277 lines in 10 files changed: 243 ins; 20 del; 14 mod

Add buffer tagging and opt-out moduleOp backend

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

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


More information about the babylon-dev mailing list