Skip to content

Commit 22cb417

Browse files
[SYCL][E2E] Fix build flag for device_global_copy (#15994)
The new test device_global_copy fails to build on Windows due to unrecognized -std option. This commit fixes the flag. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent e68ebeb commit 22cb417

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/test-e2e/DeviceGlobal/device_global_copy.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// RUN: %{build} -std=c++23 -o %t.out
1+
// DEFINE: %{cpp23} = %if cl_options %{/std:c++23%} %else %{-std=c++23%}
2+
3+
// RUN: %{build} %{cpp23} -o %t.out
24
// RUN: %{run} %t.out
35
//
46
// UNSUPPORTED: opencl && gpu

0 commit comments

Comments
 (0)