[code-reflection] Integrated: Allow us to bind arbitary data to iface mapping.

Gary Frost gfrost at openjdk.org
Tue Jun 25 12:16:36 UTC 2024


Iface mapping modiried to alllow us to bind arbitary data to the iface to layout to segment mapping. 

Specifically as BoundSchema implements HatData we can now bind the schema to iface mapping so the schema can be recovered at runtime.

Initially HatData is a marker interface. 

We could also add setDirty/isDirty methods to HatData.  Allowing babylon modified compute code to mark buffers as 'dirty', forcing the backend to copy to device.

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

Commit messages:
 - Allow us to bind arbitary data to iface mapping.

Changes: https://git.openjdk.org/babylon/pull/158/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=158&range=00
  Stats: 225 lines in 13 files changed: 135 ins; 18 del; 72 mod
  Patch: https://git.openjdk.org/babylon/pull/158.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/158/head:pull/158

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


More information about the babylon-dev mailing list