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 32
32
33
33
#ifdef DPCTL_ENABLE_LO_PROGRAM_CREATION
34
34
#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 */
36
36
// Note: include ze_api.h before level_zero.hpp. Make sure clang-format does
37
37
// not reorder the includes.
38
38
#include < CL/sycl/backend/level_zero.hpp>
@@ -47,6 +47,9 @@ namespace
47
47
#ifdef __linux__
48
48
static const char *zeLoaderName = " libze_loader.so" ;
49
49
static 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 ;
50
53
#else
51
54
#error "Level Zero program compilation is unavailable for this platform"
52
55
#endif
You can’t perform that action at this time.
0 commit comments