Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use C99 VLA in C++ code #1030

Merged
merged 3 commits into from
Feb 1, 2025

Conversation

keryell
Copy link
Member

@keryell keryell commented Jan 30, 2025

Fixes #848.

@keryell keryell requested a review from a team as a code owner January 30, 2025 01:31
{
sycl::buffer<bool, 1> res_buf(result, sycl::range(code_count));
sycl::buffer<char, 1> res_buf(result);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bader Oops! Good catch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bader Oops! Good catch.

It was CI, not me. ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was puzzled by AdaptiveCpp passing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keryell keryell merged commit eb67a96 into KhronosGroup:main Feb 1, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sub-group warning: variable length arrays in C++ are a Clang extension
2 participants