[code-reflection] Integrated: At least one element in 'flexible array members' for some OpenCL comp…

Gary Frost gfrost at openjdk.org
Tue May 28 16:19:26 UTC 2024


On Tue, 28 May 2024 16:13:26 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> Some OpenCL compilers ssem to need at least one element when using 'flexible array members' 
> 
> typedef struct S32Array_s{
>     int length;
>     int array[1];    <- 0 here trips up some OpenCL compilers.  
> }S32Array_t;

This pull request has now been integrated.

Changeset: eea106e1
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/eea106e1ea9566b14abafa959809f52b6202ad4e
Stats:     89 lines in 3 files changed: 3 ins; 85 del; 1 mod

At least one element in 'flexible array members' for some OpenCL comp…

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

PR: https://git.openjdk.org/babylon/pull/100


More information about the babylon-dev mailing list