[code-reflection] Integrated: Fixed nbody state init issue. Split out ffi-shared java code as separate module.
Gary Frost
gfrost at openjdk.org
Wed Mar 26 12:59:53 UTC 2025
Fixed nbody state init issue.
* Nbody was not detecting buffers in 'NEW' state and was incorrectly assuming we had OpenCL buf bindings
Split out ffi-shared java code as separate module. Updated bld/run as…… necessary.
* This re-org balances the hat-core and ffi-backends dependencies. Now only ffi backends see infra for handing native backends
The move to allowing 'escaping' buffers to be minimized complete.
* If buffer escapes 'compute' we treat it as if it were Read and Mutated. Unless the 'reciever' annotates the recieving arg slot with @RO or @WO which will allow us to skip at least one copy.
-------------
Commit messages:
- Split out ffi-shared java code as separate module. Updated bld/run as necessary. Fixed nbody initial buffer state issue.
Changes: https://git.openjdk.org/babylon/pull/368/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=368&range=00
Stats: 684 lines in 20 files changed: 302 ins; 271 del; 111 mod
Patch: https://git.openjdk.org/babylon/pull/368.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/368/head:pull/368
PR: https://git.openjdk.org/babylon/pull/368
More information about the babylon-dev
mailing list