From gfrost at openjdk.org Wed Oct 1 10:53:09 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 10:53:09 GMT Subject: git: openjdk/babylon: code-reflection: Hat move config to core Message-ID: Changeset: d288efa1 Branch: code-reflection Author: Gary Frost Date: 2025-10-01 10:51:36 +0000 URL: https://git.openjdk.org/babylon/commit/d288efa194a2eac83061760abd9ae053e2289199 Hat move config to core ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaBackend.java ! hat/backends/ffi/mock/src/main/java/hat/backend/ffi/MockBackend.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/C99FFIBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIBackendDriver.java - hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIConfig.java ! hat/backends/ffi/shared/src/main/native/include/config.h ! hat/core/src/main/java/hat/Config.java + hat/core/src/main/java/hat/FFIConfigCreator.java + hat/core/src/main/java/hat/codebuilders/C99HATConfigBuilder.java ! hat/core/src/main/java/hat/codebuilders/CodeBuilder.java ! hat/core/src/main/java/hat/codebuilders/HATCodeBuilder.java ! hat/examples/experiments/src/main/java/experiments/Mesh.java ! hat/examples/experiments/src/main/java/experiments/MinBufferTest.java ! hat/hat/bld ! hat/hat/clean = hat/hat/obld = hat/hat/oclean = hat/hat/orun = hat/hat/osanity = hat/hat/otest ! hat/hat/run ! hat/hat/sanity ! hat/hat/test From gfrost at openjdk.org Wed Oct 1 10:54:51 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 10:54:51 GMT Subject: [code-reflection] Integrated: Hat move config to core Message-ID: By moving Config up to core (from FFI) we can take advantage of it from anywhere in the HAT code. At present we still only access it from FFI. I plan to make more general changes in future. Also switched `java @hat/bld` to actually use the new `job.jar` based build (same for @hat/run ... sanity .. test clean etc) Have not removed the Script based tools. But will soon. If you see a problem you can revert to the prev version using `java @hat/obld ....` instead of `java @hat/bld ...` ------------- Commit messages: - Moved config out of ffi also switched to using job.jar based bld,run etc - Moved config out of ffi also switched to using job.jar based bld,run etc Changes: https://git.openjdk.org/babylon/pull/589/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=589&range=00 Stats: 804 lines in 25 files changed: 382 ins; 325 del; 97 mod Patch: https://git.openjdk.org/babylon/pull/589.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/589/head:pull/589 PR: https://git.openjdk.org/babylon/pull/589 From gfrost at openjdk.org Wed Oct 1 10:54:53 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 10:54:53 GMT Subject: [code-reflection] Integrated: Hat move config to core In-Reply-To: References: Message-ID: On Wed, 1 Oct 2025 10:48:03 GMT, Gary Frost wrote: > By moving Config up to core (from FFI) we can take advantage of it from anywhere in the HAT code. > > At present we still only access it from FFI. I plan to make more general changes in future. > > Also switched `java @hat/bld` to actually use the new `job.jar` based build (same for @hat/run ... sanity .. test clean etc) > > Have not removed the Script based tools. But will soon. If you see a problem you can revert to the prev version using `java @hat/obld ....` instead of `java @hat/bld ...` This pull request has now been integrated. Changeset: d288efa1 Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/d288efa194a2eac83061760abd9ae053e2289199 Stats: 804 lines in 25 files changed: 382 ins; 325 del; 97 mod Hat move config to core ------------- PR: https://git.openjdk.org/babylon/pull/589 From jfumero at openjdk.org Wed Oct 1 11:21:18 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 11:21:18 GMT Subject: [code-reflection] RFR: [hat] Example of HAT for 2D Matmul with register tiling Message-ID: There was an example with accesses to local memory specific to the CUDA programming model. This has been fixed and now it is compatible with both the OpenCL and CUDA backends of HAT. How to run? HAT=SHOW_CODE java @hat/run ffi-opencl matmul 2DREGISTERTILING ------------- Commit messages: - [hat] Example of HAT for 2D Matmul with register tiling Changes: https://git.openjdk.org/babylon/pull/590/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=590&range=00 Stats: 295 lines in 5 files changed: 196 ins; 75 del; 24 mod Patch: https://git.openjdk.org/babylon/pull/590.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/590/head:pull/590 PR: https://git.openjdk.org/babylon/pull/590 From jfumero at openjdk.org Wed Oct 1 11:54:42 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 11:54:42 GMT Subject: git: openjdk/babylon: code-reflection: [hat] Example of HAT for 2D Matmul with register tiling Message-ID: <4ca230e5-4c86-444a-b77d-bdb6894cda19@openjdk.org> Changeset: 8e9bc5b2 Branch: code-reflection Author: Juan Fumero Date: 2025-10-01 11:52:48 +0000 URL: https://git.openjdk.org/babylon/commit/8e9bc5b2db96aa7b2f0879722237ecbfe98b841d [hat] Example of HAT for 2D Matmul with register tiling ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/C99FFIBackend.java - hat/core/src/main/java/hat/CUDARange.java ! hat/examples/matmul/src/main/java/matmul/Main.java ! hat/tests/src/main/java/oracle/code/hat/TestArrays.java ! hat/tests/src/main/java/oracle/code/hat/TestMatMul.java From jfumero at openjdk.org Wed Oct 1 11:55:29 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 11:55:29 GMT Subject: [code-reflection] Integrated: [hat] Example of HAT for 2D Matmul with register tiling In-Reply-To: References: Message-ID: On Wed, 1 Oct 2025 11:14:43 GMT, Juan Fumero wrote: > There was an example with accesses to local memory specific to the CUDA programming model. This has been fixed and now it is compatible with both the OpenCL and CUDA backends of HAT. > > How to run? > > HAT=SHOW_CODE java @hat/run ffi-opencl matmul 2DREGISTERTILING This pull request has now been integrated. Changeset: 8e9bc5b2 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/8e9bc5b2db96aa7b2f0879722237ecbfe98b841d Stats: 295 lines in 5 files changed: 196 ins; 75 del; 24 mod [hat] Example of HAT for 2D Matmul with register tiling ------------- PR: https://git.openjdk.org/babylon/pull/590 From jfumero at openjdk.org Wed Oct 1 13:30:34 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 13:30:34 GMT Subject: [code-reflection] RFR: [hat] Fix cuda set context Message-ID: <3mMhtRkpi8-TxcFbC8yxFs11XX9wFZhNFoCnN21OCC4=.72529812-b27d-463e-bbc8-f59d20dfc184@github.com> When running Java multi-threaded applications with the HAT CUDA Backend we need to set the current context before building the kernel. This patch fixes this. Heal application should work now for the CUDA backend. ------------- Commit messages: - [hat] Fix cuda set context Changes: https://git.openjdk.org/babylon/pull/591/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=591&range=00 Stats: 4 lines in 3 files changed: 1 ins; 1 del; 2 mod Patch: https://git.openjdk.org/babylon/pull/591.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/591/head:pull/591 PR: https://git.openjdk.org/babylon/pull/591 From jfumero at openjdk.org Wed Oct 1 13:48:27 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 13:48:27 GMT Subject: git: openjdk/babylon: code-reflection: [hat] Fix cuda set context Message-ID: <879a0ee0-42f4-4706-9bba-490d3f172254@openjdk.org> Changeset: 0afb4ad7 Branch: code-reflection Author: Juan Fumero Date: 2025-10-01 13:45:50 +0000 URL: https://git.openjdk.org/babylon/commit/0afb4ad7b6c65c923288299abf3b72e0c324244f [hat] Fix cuda set context ! hat/backends/ffi/cuda/src/main/native/cpp/cuda_backend.cpp ! hat/backends/ffi/cuda/src/main/native/cpp/cuda_backend_queue.cpp ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIBackendDriver.java From jfumero at openjdk.org Wed Oct 1 13:48:57 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 13:48:57 GMT Subject: [code-reflection] Integrated: [hat] Fix cuda set context In-Reply-To: <3mMhtRkpi8-TxcFbC8yxFs11XX9wFZhNFoCnN21OCC4=.72529812-b27d-463e-bbc8-f59d20dfc184@github.com> References: <3mMhtRkpi8-TxcFbC8yxFs11XX9wFZhNFoCnN21OCC4=.72529812-b27d-463e-bbc8-f59d20dfc184@github.com> Message-ID: On Wed, 1 Oct 2025 13:24:47 GMT, Juan Fumero wrote: > When running Java multi-threaded applications with the HAT CUDA Backend we need to set the current context before building the kernel. This patch fixes this. > > Heal application should work now for the CUDA backend. This pull request has now been integrated. Changeset: 0afb4ad7 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/0afb4ad7b6c65c923288299abf3b72e0c324244f Stats: 4 lines in 3 files changed: 1 ins; 1 del; 2 mod [hat] Fix cuda set context ------------- PR: https://git.openjdk.org/babylon/pull/591 From jfumero at openjdk.org Wed Oct 1 14:09:20 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 14:09:20 GMT Subject: [code-reflection] RFR: [hat] rollback CUDA specific scheduler Message-ID: <7BDFWP9sWCcL0ZXx19oZcjuiVMnRwRcRXXeBHCOcMIY=.a3fdc886-33f7-4e22-ba86-0db2cd3130c5@github.com> Remove the CUDA Specific scheduler from the kernel context. ------------- Commit messages: - [hat] rollback CUDA specific scheduler Changes: https://git.openjdk.org/babylon/pull/592/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=592&range=00 Stats: 17 lines in 3 files changed: 0 ins; 16 del; 1 mod Patch: https://git.openjdk.org/babylon/pull/592.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/592/head:pull/592 PR: https://git.openjdk.org/babylon/pull/592 From gfrost at openjdk.org Wed Oct 1 14:25:04 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 14:25:04 GMT Subject: [code-reflection] Integrated: initial prototype of prefix sum experiment Message-ID: This will be a good demonstrator for recent array view and local memory work. Also the basis for a reduction based violajones implementation. I also added matmul.iml so we can view matmul in intellij project ------------- Commit messages: - initial prototype of prefix sum experiment Changes: https://git.openjdk.org/babylon/pull/593/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=593&range=00 Stats: 341 lines in 3 files changed: 341 ins; 0 del; 0 mod Patch: https://git.openjdk.org/babylon/pull/593.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/593/head:pull/593 PR: https://git.openjdk.org/babylon/pull/593 From gfrost at openjdk.org Wed Oct 1 14:25:05 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 14:25:05 GMT Subject: [code-reflection] Integrated: initial prototype of prefix sum experiment In-Reply-To: References: Message-ID: On Wed, 1 Oct 2025 14:04:03 GMT, Gary Frost wrote: > This will be a good demonstrator for recent array view and local memory work. > > Also the basis for a reduction based violajones implementation. > > I also added matmul.iml so we can view matmul in intellij project This pull request has now been integrated. Changeset: 161d5835 Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/161d583585ceb2e2ecca2c95649acd59560c1bf9 Stats: 341 lines in 3 files changed: 341 ins; 0 del; 0 mod initial prototype of prefix sum experiment ------------- PR: https://git.openjdk.org/babylon/pull/593 From gfrost at openjdk.org Wed Oct 1 14:25:59 2025 From: gfrost at openjdk.org (Gary Frost) Date: Wed, 1 Oct 2025 14:25:59 GMT Subject: git: openjdk/babylon: code-reflection: initial prototype of prefix sum experiment Message-ID: <0278c455-c966-47cd-b5c3-521f2fb460b3@openjdk.org> Changeset: 161d5835 Branch: code-reflection Author: Gary Frost Date: 2025-10-01 14:22:01 +0000 URL: https://git.openjdk.org/babylon/commit/161d583585ceb2e2ecca2c95649acd59560c1bf9 initial prototype of prefix sum experiment + hat/examples/experiments/src/main/java/experiments/PrefixSum.java ! hat/intellij/.idea/modules.xml + hat/intellij/example_matmul.iml From jfumero at openjdk.org Wed Oct 1 14:33:12 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 14:33:12 GMT Subject: git: openjdk/babylon: code-reflection: [hat] rollback CUDA specific scheduler Message-ID: <5ccfb1dc-f47a-455b-a6a9-6c0fbea96b6c@openjdk.org> Changeset: 6aa54542 Branch: code-reflection Author: Juan Fumero Date: 2025-10-01 14:30:54 +0000 URL: https://git.openjdk.org/babylon/commit/6aa54542593a463a36d1e8b54b190519ab05e86c [hat] rollback CUDA specific scheduler ! hat/backends/ffi/cuda/src/main/native/cpp/cuda_backend_queue.cpp ! hat/backends/ffi/shared/src/main/native/include/shared.h ! hat/core/src/main/java/hat/buffer/KernelContext.java From jfumero at openjdk.org Wed Oct 1 14:33:35 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 14:33:35 GMT Subject: [code-reflection] Integrated: [hat] rollback CUDA specific scheduler In-Reply-To: <7BDFWP9sWCcL0ZXx19oZcjuiVMnRwRcRXXeBHCOcMIY=.a3fdc886-33f7-4e22-ba86-0db2cd3130c5@github.com> References: <7BDFWP9sWCcL0ZXx19oZcjuiVMnRwRcRXXeBHCOcMIY=.a3fdc886-33f7-4e22-ba86-0db2cd3130c5@github.com> Message-ID: On Wed, 1 Oct 2025 14:01:00 GMT, Juan Fumero wrote: > Remove the CUDA Specific scheduler from the kernel context. This pull request has now been integrated. Changeset: 6aa54542 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/6aa54542593a463a36d1e8b54b190519ab05e86c Stats: 17 lines in 3 files changed: 0 ins; 16 del; 1 mod [hat] rollback CUDA specific scheduler ------------- PR: https://git.openjdk.org/babylon/pull/592 From jfumero at openjdk.org Wed Oct 1 16:47:58 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 16:47:58 GMT Subject: [code-reflection] RFR: [hat] clean-up - removed duplicated sample Message-ID: Clean-up samples - removed duplicated version ------------- Commit messages: - [hat] clean-up - removed duplicated sample Changes: https://git.openjdk.org/babylon/pull/594/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=594&range=00 Stats: 445 lines in 2 files changed: 0 ins; 444 del; 1 mod Patch: https://git.openjdk.org/babylon/pull/594.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/594/head:pull/594 PR: https://git.openjdk.org/babylon/pull/594 From jfumero at openjdk.org Wed Oct 1 16:48:55 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 16:48:55 GMT Subject: git: openjdk/babylon: code-reflection: [hat] clean-up - removed duplicated sample Message-ID: <4fe7ae54-2e97-4c41-b63c-872694d4c5c5@openjdk.org> Changeset: 1cfba3b3 Branch: code-reflection Author: Juan Fumero Date: 2025-10-01 16:48:05 +0000 URL: https://git.openjdk.org/babylon/commit/1cfba3b3a7acb15babae5b55b4b3a1eefd48d8c3 [hat] clean-up - removed duplicated sample ! hat/examples/matmul/src/main/java/matmul/Main.java ! hat/tests/src/main/java/oracle/code/hat/TestMatMul.java From jfumero at openjdk.org Wed Oct 1 16:50:29 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Wed, 1 Oct 2025 16:50:29 GMT Subject: [code-reflection] Integrated: [hat] clean-up - removed duplicated sample In-Reply-To: References: Message-ID: On Wed, 1 Oct 2025 16:42:19 GMT, Juan Fumero wrote: > Clean-up samples - removed duplicated version This pull request has now been integrated. Changeset: 1cfba3b3 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/1cfba3b3a7acb15babae5b55b4b3a1eefd48d8c3 Stats: 445 lines in 2 files changed: 0 ins; 444 del; 1 mod [hat] clean-up - removed duplicated sample ------------- PR: https://git.openjdk.org/babylon/pull/594 From jfumero at openjdk.org Thu Oct 2 08:27:02 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 08:27:02 GMT Subject: [code-reflection] RFR: [hat] testing framework updated to use the new scripts Message-ID: Testing framework updated to use the new scripts ------------- Commit messages: - [hat] testing framework updated to use the new scripts Changes: https://git.openjdk.org/babylon/pull/595/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=595&range=00 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/babylon/pull/595.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/595/head:pull/595 PR: https://git.openjdk.org/babylon/pull/595 From jfumero at openjdk.org Thu Oct 2 08:33:59 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 08:33:59 GMT Subject: [code-reflection] Integrated: [hat] testing framework updated to use the new scripts In-Reply-To: References: Message-ID: On Thu, 2 Oct 2025 08:21:13 GMT, Juan Fumero wrote: > Testing framework updated to use the new scripts This pull request has now been integrated. Changeset: 788baa20 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/788baa204e68c0099f9856814f38ce45f2e3aa4e Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod [hat] testing framework updated to use the new scripts ------------- PR: https://git.openjdk.org/babylon/pull/595 From jfumero at openjdk.org Thu Oct 2 08:34:39 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 08:34:39 GMT Subject: git: openjdk/babylon: code-reflection: [hat] testing framework updated to use the new scripts Message-ID: Changeset: 788baa20 Branch: code-reflection Author: Juan Fumero Date: 2025-10-02 08:31:13 +0000 URL: https://git.openjdk.org/babylon/commit/788baa204e68c0099f9856814f38ce45f2e3aa4e [hat] testing framework updated to use the new scripts ! hat/scripts/remoteTesting.sh From jfumero at openjdk.org Thu Oct 2 10:41:36 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 10:41:36 GMT Subject: [code-reflection] Integrated: [hat] Remote tests script fixed + add ArrayViews Message-ID: - Remote tests script fixed - Add ArrayViews in the test suite ------------- Commit messages: - [hat] Remote tests script fixed + add ArrayViews Changes: https://git.openjdk.org/babylon/pull/596/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=596&range=00 Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod Patch: https://git.openjdk.org/babylon/pull/596.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/596/head:pull/596 PR: https://git.openjdk.org/babylon/pull/596 From jfumero at openjdk.org Thu Oct 2 10:41:44 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 10:41:44 GMT Subject: git: openjdk/babylon: code-reflection: [hat] Remote tests script fixed + add ArrayViews Message-ID: <7ffc19bb-a90a-4856-8654-9bb6c3f6149a@openjdk.org> Changeset: 5a905ae8 Branch: code-reflection Author: Juan Fumero Date: 2025-10-02 10:38:38 +0000 URL: https://git.openjdk.org/babylon/commit/5a905ae8e211ab0aff77cd31eaa0f6fe65b2cfa0 [hat] Remote tests script fixed + add ArrayViews ! hat/hat.java ! hat/scripts/remoteTesting.sh From jfumero at openjdk.org Thu Oct 2 10:41:37 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Thu, 2 Oct 2025 10:41:37 GMT Subject: [code-reflection] Integrated: [hat] Remote tests script fixed + add ArrayViews In-Reply-To: References: Message-ID: On Thu, 2 Oct 2025 10:32:40 GMT, Juan Fumero wrote: > - Remote tests script fixed > - Add ArrayViews in the test suite This pull request has now been integrated. Changeset: 5a905ae8 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/5a905ae8e211ab0aff77cd31eaa0f6fe65b2cfa0 Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod [hat] Remote tests script fixed + add ArrayViews ------------- PR: https://git.openjdk.org/babylon/pull/596 From gfrost at openjdk.org Thu Oct 2 13:23:14 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:23:14 GMT Subject: [code-reflection] Integrated: config now accessible from all backends Message-ID: Config now setup for all backends. This allows us to test capabilities (such as SHOW_CODE) in all backends We should lean on this rather than Boolean.get(propName). ------------- Commit messages: - config now accessible from all backends Changes: https://git.openjdk.org/babylon/pull/597/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=597&range=00 Stats: 290 lines in 30 files changed: 153 ins; 52 del; 85 mod Patch: https://git.openjdk.org/babylon/pull/597.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/597/head:pull/597 PR: https://git.openjdk.org/babylon/pull/597 From gfrost at openjdk.org Thu Oct 2 13:23:14 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:23:14 GMT Subject: [code-reflection] Integrated: config now accessible from all backends In-Reply-To: References: Message-ID: On Thu, 2 Oct 2025 13:15:53 GMT, Gary Frost wrote: > Config now setup for all backends. > > This allows us to test capabilities (such as SHOW_CODE) in all backends > > We should lean on this rather than Boolean.get(propName). This pull request has now been integrated. Changeset: 469e6ab3 Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/469e6ab36eafbcc3badc999c66e59d6ef825a61d Stats: 290 lines in 30 files changed: 153 ins; 52 del; 85 mod config now accessible from all backends ------------- PR: https://git.openjdk.org/babylon/pull/597 From gfrost at openjdk.org Thu Oct 2 13:24:36 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:24:36 GMT Subject: git: openjdk/babylon: code-reflection: config now accessible from all backends Message-ID: Changeset: 469e6ab3 Branch: code-reflection Author: Gary Frost Date: 2025-10-02 13:20:05 +0000 URL: https://git.openjdk.org/babylon/commit/469e6ab36eafbcc3badc999c66e59d6ef825a61d config now accessible from all backends ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaBackend.java ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaDeviceInfo.java ! hat/backends/ffi/mock/src/main/java/hat/backend/ffi/MockBackend.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLBackend.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLDeviceInfo.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/C99FFIBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/FFIBackendDriver.java ! hat/backends/ffi/shared/src/main/native/include/config.h ! hat/backends/java/seq/src/main/java/hat/backend/java/JavaSequentialBackend.java ! hat/backends/jextracted/opencl/src/main/java/hat/backend/jextracted/OpenCLBackend.java ! hat/backends/jextracted/shared/src/main/java/hat/backend/jextracted/C99JExtractedBackend.java ! hat/backends/jextracted/shared/src/main/java/hat/backend/jextracted/JExtractedBackend.java ! hat/backends/jextracted/shared/src/main/java/hat/backend/jextracted/JExtractedBackendDriver.java ! hat/core/src/main/java/hat/Accelerator.java ! hat/core/src/main/java/hat/ComputeContext.java ! hat/core/src/main/java/hat/Config.java ! hat/core/src/main/java/hat/FFIConfigCreator.java ! hat/core/src/main/java/hat/backend/Backend.java ! hat/core/src/main/java/hat/backend/BackendAdaptor.java ! hat/core/src/main/java/hat/backend/DebugBackend.java ! hat/core/src/main/java/hat/backend/java/JavaBackend.java ! hat/core/src/main/java/hat/buffer/ArgArray.java ! hat/core/src/main/java/hat/callgraph/CallGraph.java ! hat/core/src/main/java/hat/callgraph/ComputeCallGraph.java ! hat/core/src/main/java/hat/codebuilders/C99HATConfigBuilder.java ! hat/examples/experiments/src/main/java/experiments/Mesh.java ! hat/examples/experiments/src/main/java/experiments/MinBufferTest.java ! hat/examples/mandel/src/main/java/mandel/Main.java ! hat/examples/violajones/src/main/java/violajones/Main.java From gfrost at openjdk.org Thu Oct 2 13:32:07 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:32:07 GMT Subject: [code-reflection] Integrated: hat.java now scans the tests.jar for tests to run Message-ID: Previously we ha dto add each new test suite to `hat.java` now we scan the jar file for test suites. ------------- Commit messages: - hat.java now scans the tests.jar for tests to run - hat.java now scans the tests.jar for tests to run Changes: https://git.openjdk.org/babylon/pull/598/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=598&range=00 Stats: 10 lines in 1 file changed: 0 ins; 0 del; 10 mod Patch: https://git.openjdk.org/babylon/pull/598.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/598/head:pull/598 PR: https://git.openjdk.org/babylon/pull/598 From gfrost at openjdk.org Thu Oct 2 13:32:07 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:32:07 GMT Subject: [code-reflection] Integrated: hat.java now scans the tests.jar for tests to run In-Reply-To: References: Message-ID: On Thu, 2 Oct 2025 13:23:46 GMT, Gary Frost wrote: > Previously we ha dto add each new test suite to `hat.java` now we scan the jar file for test suites. This pull request has now been integrated. Changeset: 4fbdcd4a Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/4fbdcd4a421cf23dfaf33ee3d9a799d5abc6ccaa Stats: 10 lines in 1 file changed: 0 ins; 0 del; 10 mod hat.java now scans the tests.jar for tests to run ------------- PR: https://git.openjdk.org/babylon/pull/598 From gfrost at openjdk.org Thu Oct 2 13:32:59 2025 From: gfrost at openjdk.org (Gary Frost) Date: Thu, 2 Oct 2025 13:32:59 GMT Subject: git: openjdk/babylon: code-reflection: hat.java now scans the tests.jar for tests to run Message-ID: <7e9b1775-c17a-4381-91a1-6698c62eb5cb@openjdk.org> Changeset: 4fbdcd4a Branch: code-reflection Author: Gary Frost Date: 2025-10-02 13:29:03 +0000 URL: https://git.openjdk.org/babylon/commit/4fbdcd4a421cf23dfaf33ee3d9a799d5abc6ccaa hat.java now scans the tests.jar for tests to run ! hat/hat.java From duke at openjdk.org Thu Oct 2 23:12:47 2025 From: duke at openjdk.org (Ruby Chen) Date: Thu, 2 Oct 2025 23:12:47 GMT Subject: [code-reflection] RFR: Remove noModuleOp and bufferTagging flags Message-ID: Phase out the backend that doesn't use `ModuleOp`. Also make `bufferTagging` run by default. ------------- Commit messages: - Remove noModuleOp and bufferTagging flags Changes: https://git.openjdk.org/babylon/pull/599/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=599&range=00 Stats: 112 lines in 12 files changed: 15 ins; 77 del; 20 mod Patch: https://git.openjdk.org/babylon/pull/599.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/599/head:pull/599 PR: https://git.openjdk.org/babylon/pull/599 From duke at openjdk.org Fri Oct 3 14:52:06 2025 From: duke at openjdk.org (duke) Date: Fri, 3 Oct 2025 14:52:06 GMT Subject: [code-reflection] RFR: Remove noModuleOp and bufferTagging flags In-Reply-To: References: Message-ID: <4rWTe4AnWQ0pbxoRMdP-bnN4LiSNXQSUbHKCgeA7l1M=.91249acc-7ddb-4080-b2bb-a1d3b806fcad@github.com> On Thu, 2 Oct 2025 23:06:07 GMT, Ruby Chen wrote: > Phase out the backend that doesn't use `ModuleOp`. Also make `bufferTagging` run by default. @rbrchen Your change (at version 56b48cf35bb0b559eabe55b072772f107ebc66cd) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/babylon/pull/599#issuecomment-3366013209 From gfrost at openjdk.org Fri Oct 3 15:03:37 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 15:03:37 GMT Subject: git: openjdk/babylon: code-reflection: Remove noModuleOp and bufferTagging flags Message-ID: <7941606c-8edf-411f-8a46-a4978ae0c01e@openjdk.org> Changeset: 09e34f28 Branch: code-reflection Author: Ruby Chen Committer: Gary Frost Date: 2025-10-03 15:01:47 +0000 URL: https://git.openjdk.org/babylon/commit/09e34f28441ed95fcc218a0c8b65e3d8e0c9190d Remove noModuleOp and bufferTagging flags ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaBackend.java ! hat/backends/ffi/mock/src/main/java/hat/backend/ffi/MockBackend.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/C99FFIBackend.java ! hat/core/src/main/java/hat/BufferTagger.java ! hat/core/src/main/java/hat/buffer/ArgArray.java ! hat/core/src/main/java/hat/callgraph/CallGraph.java ! hat/core/src/main/java/hat/callgraph/ComputeCallGraph.java ! hat/core/src/main/java/hat/callgraph/KernelCallGraph.java ! hat/hat.java ! hat/hat/Script.java ! hat/hat/run.java ! hat/hat/test.java From duke at openjdk.org Fri Oct 3 15:04:14 2025 From: duke at openjdk.org (Ruby Chen) Date: Fri, 3 Oct 2025 15:04:14 GMT Subject: [code-reflection] Integrated: Remove noModuleOp and bufferTagging flags In-Reply-To: References: Message-ID: <2CQM8KIJPGxvo2KSFjVQ7OBpeDFX6VJqqPoAy5xgpYw=.ab9bd535-4d84-4022-9570-0e415b7ea3f1@github.com> On Thu, 2 Oct 2025 23:06:07 GMT, Ruby Chen wrote: > Phase out the backend that doesn't use `ModuleOp`. Also make `bufferTagging` run by default. This pull request has now been integrated. Changeset: 09e34f28 Author: Ruby Chen Committer: Gary Frost URL: https://git.openjdk.org/babylon/commit/09e34f28441ed95fcc218a0c8b65e3d8e0c9190d Stats: 112 lines in 12 files changed: 15 ins; 77 del; 20 mod Remove noModuleOp and bufferTagging flags ------------- PR: https://git.openjdk.org/babylon/pull/599 From gfrost at openjdk.org Fri Oct 3 15:29:01 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 15:29:01 GMT Subject: [code-reflection] Integrated: implemented preprocessor hook for OpenCL code gen Message-ID: Here we leverage OpenCL's ability to lean on the C99 preprocessor to generate C99 code. Instead of having OpenCL generator differentiate, we get the OpenCL code builder to define a set of #defines and generate backend 'neutral' C99 code (common between Cuda and OpenCL). This PR just has the OpenCL changes. Cuda changes will be next ------------- Commit messages: - implemented preprocessor hook for OpenCL code gen Changes: https://git.openjdk.org/babylon/pull/600/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=600&range=00 Stats: 250 lines in 10 files changed: 90 ins; 44 del; 116 mod Patch: https://git.openjdk.org/babylon/pull/600.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/600/head:pull/600 PR: https://git.openjdk.org/babylon/pull/600 From gfrost at openjdk.org Fri Oct 3 15:29:02 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 15:29:02 GMT Subject: [code-reflection] Integrated: implemented preprocessor hook for OpenCL code gen In-Reply-To: References: Message-ID: On Fri, 3 Oct 2025 15:22:05 GMT, Gary Frost wrote: > Here we leverage OpenCL's ability to lean on the C99 preprocessor to generate C99 code. > > Instead of having OpenCL generator differentiate, we get the OpenCL code builder to define a set of #defines and generate backend 'neutral' C99 code (common between Cuda and OpenCL). > > This PR just has the OpenCL changes. Cuda changes will be next This pull request has now been integrated. Changeset: d1bd5d57 Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/d1bd5d57d38573c536ec5c4d48b248c0e4b4a1cb Stats: 250 lines in 10 files changed: 90 ins; 44 del; 116 mod implemented preprocessor hook for OpenCL code gen ------------- PR: https://git.openjdk.org/babylon/pull/600 From gfrost at openjdk.org Fri Oct 3 15:29:11 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 15:29:11 GMT Subject: git: openjdk/babylon: code-reflection: implemented preprocessor hook for OpenCL code gen Message-ID: <1fbd1449-f0dd-45a6-b596-74f9a95fcae1@openjdk.org> Changeset: d1bd5d57 Branch: code-reflection Author: Gary Frost Date: 2025-10-03 15:25:23 +0000 URL: https://git.openjdk.org/babylon/commit/d1bd5d57d38573c536ec5c4d48b248c0e4b4a1cb implemented preprocessor hook for OpenCL code gen ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaHATKernelBuilder.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLHATKernelBuilder.java ! hat/backends/ffi/shared/src/main/java/hat/backend/ffi/C99FFIBackend.java ! hat/backends/jextracted/opencl/src/main/java/hat/backend/jextracted/OpenCLHatKernelBuilder.java ! hat/backends/jextracted/shared/src/main/java/hat/backend/jextracted/C99JExtractedBackend.java ! hat/core/src/main/java/hat/codebuilders/C99HATKernelBuilder.java ! hat/core/src/main/java/hat/codebuilders/CodeBuilder.java ! hat/core/src/main/java/hat/codebuilders/HATCodeBuilder.java ! hat/examples/experiments/src/main/java/experiments/PrefixSum.java ! hat/examples/nbody/src/main/java/nbody/opencl/OpenCLNBodyGLWindow.java From gfrost at openjdk.org Fri Oct 3 17:03:17 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 17:03:17 GMT Subject: git: openjdk/babylon: code-reflection: cuda now also leverages c99 preprocessor Message-ID: Changeset: 86a9485a Branch: code-reflection Author: Gary Frost Date: 2025-10-03 17:01:32 +0000 URL: https://git.openjdk.org/babylon/commit/86a9485a0428af125533e7d2a01ef683d1598c28 cuda now also leverages c99 preprocessor ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaHATKernelBuilder.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLHATKernelBuilder.java ! hat/core/src/main/java/hat/codebuilders/C99HATKernelBuilder.java + hat/hat/exp From gfrost at openjdk.org Fri Oct 3 17:04:53 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 17:04:53 GMT Subject: [code-reflection] Integrated: cuda now also leverages c99 preprocessor Message-ID: Merged common HATKernelCodeGen. Now both CUDA and OpenCL lean on the c99 preprocessor. ------------- Commit messages: - cuda now also leverages c99 preprocessor Changes: https://git.openjdk.org/babylon/pull/601/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=601&range=00 Stats: 203 lines in 4 files changed: 75 ins; 99 del; 29 mod Patch: https://git.openjdk.org/babylon/pull/601.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/601/head:pull/601 PR: https://git.openjdk.org/babylon/pull/601 From gfrost at openjdk.org Fri Oct 3 17:04:53 2025 From: gfrost at openjdk.org (Gary Frost) Date: Fri, 3 Oct 2025 17:04:53 GMT Subject: [code-reflection] Integrated: cuda now also leverages c99 preprocessor In-Reply-To: References: Message-ID: <5hTVIZvyBeQtjmGEopReTVIPdTH4_6VXY3FOumLLIwA=.50b271a9-ded4-4854-b250-d3f1f9651b6f@github.com> On Fri, 3 Oct 2025 16:56:58 GMT, Gary Frost wrote: > Merged common HATKernelCodeGen. Now both CUDA and OpenCL lean on the c99 preprocessor. This pull request has now been integrated. Changeset: 86a9485a Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/86a9485a0428af125533e7d2a01ef683d1598c28 Stats: 203 lines in 4 files changed: 75 ins; 99 del; 29 mod cuda now also leverages c99 preprocessor ------------- PR: https://git.openjdk.org/babylon/pull/601 From gfrost at openjdk.org Sat Oct 4 10:26:32 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 10:26:32 GMT Subject: git: openjdk/babylon: code-reflection: converging cuda/opencl code gen using preprocessor Message-ID: <6533cdf7-3d36-4601-af00-8ed7a4815d34@openjdk.org> Changeset: 09d27d9b Branch: code-reflection Author: Gary Frost Date: 2025-10-04 10:24:15 +0000 URL: https://git.openjdk.org/babylon/commit/09d27d9b887a7d573855924abd12b9a558e9e201 converging cuda/opencl code gen using preprocessor ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaHATKernelBuilder.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLHATKernelBuilder.java ! hat/core/src/main/java/hat/codebuilders/C99HATKernelBuilder.java From gfrost at openjdk.org Sat Oct 4 10:27:46 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 10:27:46 GMT Subject: [code-reflection] Integrated: converging cuda/opencl code gen using preprocessor Message-ID: <0o51AeV6_u0xdq69mH2MDBNpzZDqbkSlze_xpVDgZbg=.05462cfe-7167-4a82-868e-a4eb66073261@github.com> Took opportunity to move more c99 code gen to preprocessor. ------------- Commit messages: - converging cuda/opencl code gen using preprocessor Changes: https://git.openjdk.org/babylon/pull/602/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=602&range=00 Stats: 79 lines in 3 files changed: 20 ins; 25 del; 34 mod Patch: https://git.openjdk.org/babylon/pull/602.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/602/head:pull/602 PR: https://git.openjdk.org/babylon/pull/602 From gfrost at openjdk.org Sat Oct 4 10:27:46 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 10:27:46 GMT Subject: [code-reflection] Integrated: converging cuda/opencl code gen using preprocessor In-Reply-To: <0o51AeV6_u0xdq69mH2MDBNpzZDqbkSlze_xpVDgZbg=.05462cfe-7167-4a82-868e-a4eb66073261@github.com> References: <0o51AeV6_u0xdq69mH2MDBNpzZDqbkSlze_xpVDgZbg=.05462cfe-7167-4a82-868e-a4eb66073261@github.com> Message-ID: On Sat, 4 Oct 2025 10:22:02 GMT, Gary Frost wrote: > Took opportunity to move more c99 code gen to preprocessor. This pull request has now been integrated. Changeset: 09d27d9b Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/09d27d9b887a7d573855924abd12b9a558e9e201 Stats: 79 lines in 3 files changed: 20 ins; 25 del; 34 mod converging cuda/opencl code gen using preprocessor ------------- PR: https://git.openjdk.org/babylon/pull/602 From gfrost at openjdk.org Sat Oct 4 11:06:31 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 11:06:31 GMT Subject: [code-reflection] Integrated: CUDA and OpenCL C99 code now identical except for handling of atomics Message-ID: Generated code essentially same for CUDA and OpenCL. Not only does this lend itself to simpler codegen, it also opens the doorway to a HAT C99 dialect which we can use for prototyping and even intrinsics Check the code generated for HAT=SHOW_CODE java @hat/test ffi-opencl HAT=SHOW_CODE java @hat/test ffi-cuda ``` The only differences should be the generated preprocessor macros. We need to deal with atomics .... somehow. Still thinking about that. ------------- Commit messages: - CUDA and OpenCL C99 code now identical except for handling of atomics Changes: https://git.openjdk.org/babylon/pull/603/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=603&range=00 Stats: 90 lines in 3 files changed: 0 ins; 28 del; 62 mod Patch: https://git.openjdk.org/babylon/pull/603.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/603/head:pull/603 PR: https://git.openjdk.org/babylon/pull/603 From gfrost at openjdk.org Sat Oct 4 11:06:31 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 11:06:31 GMT Subject: [code-reflection] Integrated: CUDA and OpenCL C99 code now identical except for handling of atomics In-Reply-To: References: Message-ID: On Sat, 4 Oct 2025 11:00:19 GMT, Gary Frost wrote: > Generated code essentially same for CUDA and OpenCL. > > Not only does this lend itself to simpler codegen, it also opens the doorway to a HAT C99 dialect which we can use for prototyping and even intrinsics > > Check the code generated for > > HAT=SHOW_CODE java @hat/test ffi-opencl > HAT=SHOW_CODE java @hat/test ffi-cuda > ``` > The only differences should be the generated preprocessor macros. > > We need to deal with atomics .... somehow. Still thinking about that. This pull request has now been integrated. Changeset: b46f103b Author: Gary Frost URL: https://git.openjdk.org/babylon/commit/b46f103b7cafa6216ee82fbc2c557a10883b1728 Stats: 90 lines in 3 files changed: 0 ins; 28 del; 62 mod CUDA and OpenCL C99 code now identical except for handling of atomics ------------- PR: https://git.openjdk.org/babylon/pull/603 From gfrost at openjdk.org Sat Oct 4 11:06:48 2025 From: gfrost at openjdk.org (Gary Frost) Date: Sat, 4 Oct 2025 11:06:48 GMT Subject: git: openjdk/babylon: code-reflection: CUDA and OpenCL C99 code now identical except for handling of atomics Message-ID: Changeset: b46f103b Branch: code-reflection Author: Gary Frost Date: 2025-10-04 11:03:49 +0000 URL: https://git.openjdk.org/babylon/commit/b46f103b7cafa6216ee82fbc2c557a10883b1728 CUDA and OpenCL C99 code now identical except for handling of atomics ! hat/backends/ffi/cuda/src/main/java/hat/backend/ffi/CudaHATKernelBuilder.java ! hat/backends/ffi/opencl/src/main/java/hat/backend/ffi/OpenCLHATKernelBuilder.java ! hat/core/src/main/java/hat/codebuilders/C99HATKernelBuilder.java From jfumero at openjdk.org Mon Oct 6 10:43:51 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Mon, 6 Oct 2025 10:43:51 GMT Subject: [code-reflection] Integrated: [hat][docs] Some useful links added Message-ID: Some useful links added ------------- Commit messages: - [hat][docs] Some useful links added Changes: https://git.openjdk.org/babylon/pull/604/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=604&range=00 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod Patch: https://git.openjdk.org/babylon/pull/604.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/604/head:pull/604 PR: https://git.openjdk.org/babylon/pull/604 From jfumero at openjdk.org Mon Oct 6 10:43:52 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Mon, 6 Oct 2025 10:43:52 GMT Subject: [code-reflection] Integrated: [hat][docs] Some useful links added In-Reply-To: References: Message-ID: On Mon, 6 Oct 2025 10:35:29 GMT, Juan Fumero wrote: > Some useful links added This pull request has now been integrated. Changeset: cd9577b0 Author: Juan Fumero URL: https://git.openjdk.org/babylon/commit/cd9577b0fb12a17a3a672e58225a89c0bb8f23b9 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod [hat][docs] Some useful links added ------------- PR: https://git.openjdk.org/babylon/pull/604 From jfumero at openjdk.org Mon Oct 6 10:44:40 2025 From: jfumero at openjdk.org (Juan Fumero) Date: Mon, 6 Oct 2025 10:44:40 GMT Subject: git: openjdk/babylon: code-reflection: [hat][docs] Some useful links added Message-ID: <5e4a160a-aecb-4420-94e7-3ef6f7137e08@openjdk.org> Changeset: cd9577b0 Branch: code-reflection Author: Juan Fumero Date: 2025-10-06 10:40:50 +0000 URL: https://git.openjdk.org/babylon/commit/cd9577b0fb12a17a3a672e58225a89c0bb8f23b9 [hat][docs] Some useful links added ! hat/docs/hat-notes-and-links.md From duke at openjdk.org Tue Oct 7 21:53:17 2025 From: duke at openjdk.org (Ruby Chen) Date: Tue, 7 Oct 2025 21:53:17 GMT Subject: [code-reflection] RFR: Add kernel entrypoint to ModuleOp Message-ID: Include the kernel (and compute) entrypoints in their respective ModuleOps. ------------- Commit messages: - Add kernel entrypoint to ModuleOp Changes: https://git.openjdk.org/babylon/pull/605/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=605&range=00 Stats: 43 lines in 2 files changed: 9 ins; 22 del; 12 mod Patch: https://git.openjdk.org/babylon/pull/605.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/605/head:pull/605 PR: https://git.openjdk.org/babylon/pull/605 From duke at openjdk.org Fri Oct 10 18:19:12 2025 From: duke at openjdk.org (Ruby Chen) Date: Fri, 10 Oct 2025 18:19:12 GMT Subject: [code-reflection] RFR: Add private and local arrayView support Message-ID: <-E-v636NObf8LpGdZj4eYCphUYCSvkh7rgeShc4ORSA=.584358e1-13c4-4d7b-8de8-8876c7e32e34@github.com> Private and local arrayViews can now also be accessed using `.privateArrayView()` and `.localArrayView()`, respectively. Implementation of `.privateArrayView()` and `.localArrayView()` is left to the user, and accessing global arrays is still kept as `.arrayView()`. ------------- Commit messages: - add private and local arrayview support Changes: https://git.openjdk.org/babylon/pull/607/files Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=607&range=00 Stats: 188 lines in 4 files changed: 123 ins; 25 del; 40 mod Patch: https://git.openjdk.org/babylon/pull/607.diff Fetch: git fetch https://git.openjdk.org/babylon.git pull/607/head:pull/607 PR: https://git.openjdk.org/babylon/pull/607