Skip to content

Commit 843034d

Browse files
authored
Merge pull request #1999 from igchor/ifdef_fix
[L0] Fix ifdef logic
2 parents af18099 + 065810e commit 843034d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/adapters/level_zero/helpers/kernel_helpers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
#include "../device.hpp"
1616

1717
#ifdef UR_ADAPTER_LEVEL_ZERO_V2
18-
#include "../context.hpp"
19-
#else
2018
#include "../v2/context.hpp"
19+
#else
20+
#include "../context.hpp"
2121
#endif
2222

2323
ur_result_t getSuggestedLocalWorkSize(ur_device_handle_t hDevice,

source/adapters/level_zero/program.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
#include "logger/ur_logger.hpp"
1414

1515
#ifdef UR_ADAPTER_LEVEL_ZERO_V2
16-
#include "context.hpp"
17-
#else
1816
#include "v2/context.hpp"
17+
#else
18+
#include "context.hpp"
1919
#endif
2020

2121
extern "C" {

0 commit comments

Comments
 (0)