[code-reflection] Integrated: HAT shade buildout
Gary Frost
gfrost at openjdk.org
Tue Feb 3 13:07:01 UTC 2026
On Tue, 3 Feb 2026 12:58:33 GMT, Gary Frost <gfrost at openjdk.org> wrote:
> Shade needs fvec2,3,4 and ivec2 types. So experimenting with adding them to Uniform list .
>
> Also discovered that Panama/memorySegments are actually pretty efficient when holding RasterData types (for copying to ImageBuffers)
>
> To prove the case I added an 'OpenGL free' nbody variant (curently in the shade-experiment code)
>
> JARS=build/hat-optkl-1.0.jar:build/hat-core-1.0.jar
> JARS=${JARS}:build/hat-backend-ffi-shared-1.0.jar:build/hat-backend-ffi-opencl-1.0.jar
> JARS=${JARS}:build/hat-example-shade-1.0.jar
> java --add-modules=jdk.incubator.code --enable-native-access=ALL-UNNAMED -cp ${JARS} -Djava.library.path=./build \
> shade/NBodySansGL HAT &
> java --add-modules=jdk.incubator.code --enable-native-access=ALL-UNNAMED -cp ${JARS} -Djava.library.path=./build \
> shade/NBodySansGL JavaSeq &
> java --add-modules=jdk.incubator.code --enable-native-access=ALL-UNNAMED -cp ${JARS} -Djava.library.path=./build \
> shade/NBodySansGL JavaMT &
This pull request has now been integrated.
Changeset: 3122e99a
Author: Gary Frost <gfrost at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/3122e99ab8551fd798a6f6e15c4af2bee869b0d3
Stats: 891 lines in 13 files changed: 813 ins; 12 del; 66 mod
HAT shade buildout
-------------
PR: https://git.openjdk.org/babylon/pull/888
More information about the babylon-dev
mailing list