We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3634cce commit 070e38eCopy full SHA for 070e38e
test/parallel_api/sycl_canary.pass.cpp
@@ -27,8 +27,9 @@
27
28
#include <cstdlib>
29
30
-#if _MSC_VER
31
-// algorithm is required as a workaround for a bug on windows with sycl includes not including it for std::iter_swap
+#if _MSC_VER && __INTEL_LLVM_COMPILER <= 20240000
+// Algorithm is required as a workaround for a bug on windows before icx 2024.0.0 with sycl headers
32
+// not including the appropriate headers for std::iter_swap
33
# include <algorithm>
34
#endif
35
0 commit comments