Skip to content

Commit 89b955f

Browse files
Replaced one stray #include "../helper/include/header.h" with
`#include "header.h"` Replaced `#include <zet_api.h>` with `#include <ze_api.h>` and applied clang-format guards per comment in the code.
1 parent e612cb0 commit 89b955f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

libsyclinterface/source/dpctl_sycl_program_interface.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@
3939
#include <sstream>
4040

4141
#ifdef DPCTL_ENABLE_LO_PROGRAM_CREATION
42-
#include "../helper/include/dpctl_dynamic_lib_helper.h"
43-
#include <zet_api.h> /* Level Zero headers */
42+
#include "dpctl_dynamic_lib_helper.h"
4443
// Note: include ze_api.h before level_zero.hpp. Make sure clang-format does
4544
// not reorder the includes.
46-
#include <CL/sycl/backend/level_zero.hpp>
45+
// clang-format off
46+
#include "ze_api.h" /* Level Zero headers */
47+
#include "sycl/ext/oneapi/backend/level_zero.hpp"
48+
// clang-format on
4749
#endif
4850

4951
using namespace cl::sycl;

0 commit comments

Comments
 (0)