diff --git a/sycl/test-e2e/Regression/commandlist/Inputs/main.cpp b/sycl/test-e2e/Regression/commandlist/Inputs/main.cpp index c80ea80e45335..a23854936878f 100644 --- a/sycl/test-e2e/Regression/commandlist/Inputs/main.cpp +++ b/sycl/test-e2e/Regression/commandlist/Inputs/main.cpp @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) { bool lock{true}; bool sharedQueue{true}; // int nthreadsGPU = 1; - int nthreadsGPU = 8; + constexpr int nthreadsGPU = 8; int arr_size = 20; int iter_gpu = 200; unsigned int nitems = 0;