File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3232
3333#ifdef DPCTL_ENABLE_LO_PROGRAM_CREATION
3434#include " ../helper/include/dpctl_dynamic_lib_helper.h"
35- #include < level_zero/ zet_api.h> /* Level Zero headers */
35+ #include < zet_api.h> /* Level Zero headers */
3636// Note: include ze_api.h before level_zero.hpp. Make sure clang-format does
3737// not reorder the includes.
3838#include < CL/sycl/backend/level_zero.hpp>
@@ -47,6 +47,9 @@ namespace
4747#ifdef __linux__
4848static const char *zeLoaderName = " libze_loader.so" ;
4949static const int libLoadFlags = RTLD_NOLOAD | RTLD_NOW | RTLD_LOCAL;
50+ #elif defined(_WIN64)
51+ static const char *zeLoaderName = " ze_loader.dll" ;
52+ static const int libLoadFlags = 0 ;
5053#else
5154#error "Level Zero program compilation is unavailable for this platform"
5255#endif
You can’t perform that action at this time.
0 commit comments