Skip to content

Commit

Permalink
Merge pull request #1999 from igchor/ifdef_fix
Browse files Browse the repository at this point in the history
[L0] Fix ifdef logic
  • Loading branch information
igchor authored Aug 21, 2024
2 parents af18099 + 065810e commit 843034d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/adapters/level_zero/helpers/kernel_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include "../device.hpp"

#ifdef UR_ADAPTER_LEVEL_ZERO_V2
#include "../context.hpp"
#else
#include "../v2/context.hpp"
#else
#include "../context.hpp"
#endif

ur_result_t getSuggestedLocalWorkSize(ur_device_handle_t hDevice,
Expand Down
4 changes: 2 additions & 2 deletions source/adapters/level_zero/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include "logger/ur_logger.hpp"

#ifdef UR_ADAPTER_LEVEL_ZERO_V2
#include "context.hpp"
#else
#include "v2/context.hpp"
#else
#include "context.hpp"
#endif

extern "C" {
Expand Down

0 comments on commit 843034d

Please sign in to comment.