Skip to content

Commit 4e62bf7

Browse files
[SYCL][E2E] Fix c++23 option in device_global_copy (#16707)
On some Windows configurations, the /std:c++23 option is not recognized. To address this, we instead instruct the compiler to accept it as a clang flag. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 74610cc commit 4e62bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/DeviceGlobal/device_global_copy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// DEFINE: %{cpp23} = %if cl_options %{/std:c++23%} %else %{-std=c++23%}
1+
// DEFINE: %{cpp23} = %if cl_options %{/clang:-std=c++23%} %else %{-std=c++23%}
22

33
// RUN: %{build} %{cpp23} -o %t.out
44
// RUN: %{run} %t.out

0 commit comments

Comments
 (0)