Skip to content

Conversation

@uditagarwal97
Copy link
Contributor

nthreadsGPU is used to declare an array at
https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/Regression/commandlist/Inputs/main.cpp#L102 which throws an error:

error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]

This PR marks this variable as constexpr.

@uditagarwal97 uditagarwal97 self-assigned this Sep 3, 2025
@uditagarwal97 uditagarwal97 requested a review from a team as a code owner September 3, 2025 17:38
@uditagarwal97 uditagarwal97 merged commit 613a205 into sycl Sep 3, 2025
43 of 44 checks passed
@uditagarwal97 uditagarwal97 deleted the private/udit/regression_fiox branch September 3, 2025 22:43
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.

3 participants