Skip to content

Commit

Permalink
restricting workaround to a specific icx version
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <[email protected]>
  • Loading branch information
danhoeflinger committed Sep 6, 2024
1 parent 3634cce commit 070e38e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/parallel_api/sycl_canary.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@

#include <cstdlib>

#if _MSC_VER
// 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
// not including the appropriate headers for std::iter_swap
# include <algorithm>
#endif

Expand Down

0 comments on commit 070e38e

Please sign in to comment.