[code-reflection] RFR: Fix balanced parenthesis and structs for the CUDA backend

Gary Frost gfrost at openjdk.org
Tue Dec 9 13:19:30 UTC 2025


On Tue, 9 Dec 2025 12:41:33 GMT, Juan Fumero <jfumero at openjdk.org> wrote:

> Fix balanced parenthesis and structs for the CUDA backend
> 
> How to test?
> 
> 
> java -cp hat/job.jar hat.java test-suite ffi-opencl
> 
> java -cp hat/job.jar hat.java test-suite ffi-cuda

hat/core/src/main/java/hat/codebuilders/CodeBuilder.java line 500:

> 498:     }
> 499:     public <I> T semicolonNlSeparated(Iterable<I> iterable,  Consumer<I> consumer) {
> 500:         return separated(iterable,_->semicolonNl(),consumer).semicolon();

No fix this at the call site.  Or it effects every use of semicolonNlSeparated...

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

PR Review Comment: https://git.openjdk.org/babylon/pull/741#discussion_r2602619170


More information about the babylon-dev mailing list