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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user