Cycles: oneAPI: fix kernel host-side compilation with MSVC 17.7

<algorithm> header include is missing from some sycl headers, this will
be fixed upstream with https://github.com/intel/llvm/pull/10424,
meanwhile, we work around it by including it directly.
This commit is contained in:
Xavier Hallade
2023-07-25 12:01:09 +02:00
parent 1f302a0635
commit aefc9835f8

View File

@@ -9,6 +9,8 @@
# include <map>
# include <set>
/* <algorithm> is needed until included upstream in sycl/detail/property_list_base.hpp */
# include <algorithm>
# include <sycl/sycl.hpp>
# include "kernel/device/oneapi/compat.h"