[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


On Tue, 25 Jun 2024 12:12:09 GMT, Gary Frost <gfrost at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 2a800c81
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/2a800c81159c9ab1a2ee44cef0efea05fb26073e
Stats:     225 lines in 13 files changed: 135 ins; 18 del; 72 mod

Allow us to bind arbitary data to iface mapping.

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

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


More information about the babylon-dev mailing list