[code-reflection] Integrated: New dsl style schema extended to support 2D arrays bound by width*height
Gary Frost
gfrost at openjdk.org
Sun Dec 28 14:18:23 UTC 2025
Extended the dsl style schema builder to accept 2D bound arrays,.
public interface F32Array2D extends Buffer {
@Reflect default void schema(){array(width()*height());};
Schema<F32Array2D> schema = Schema.of(F32Array2D.class);
int width();
int height();
float array(long idx);
void array(long idx, float v);
}
-------------
Commit messages:
- New dsl style schema extended to support 2D arrays bound by width*height
Changes: https://git.openjdk.org/babylon/pull/794/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=794&range=00
Stats: 208 lines in 5 files changed: 139 ins; 52 del; 17 mod
Patch: https://git.openjdk.org/babylon/pull/794.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/794/head:pull/794
PR: https://git.openjdk.org/babylon/pull/794
More information about the babylon-dev
mailing list