Skip to content

Commit 8959c3c

Browse files
authored
[UR] remove duplicate ur files (#12417)
The ur.hpp and ur.cpp files were moved to the unified runtime repo. This is currently blocking #12403, oneapi-src/unified-runtime#1252.
1 parent f924aa0 commit 8959c3c

File tree

3 files changed

+5
-326
lines changed

3 files changed

+5
-326
lines changed

sycl/plugins/unified_runtime/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ message(STATUS
119119
"Using Unified Runtime source directory: ${UNIFIED_RUNTIME_SOURCE_DIR}")
120120

121121
set(UNIFIED_RUNTIME_INCLUDE_DIR "${UNIFIED_RUNTIME_SOURCE_DIR}/include")
122+
set(UNIFIED_RUNTIME_SRC_INCLUDE_DIR "${UNIFIED_RUNTIME_SOURCE_DIR}/source")
123+
set(UNIFIED_RUNTIME_COMMON_INCLUDE_DIR "${UNIFIED_RUNTIME_SOURCE_DIR}/source/common")
122124

123125
add_library(UnifiedRuntimeLoader ALIAS ur_loader)
124126
add_library(UnifiedRuntimeCommon ALIAS ur_common)
@@ -148,6 +150,9 @@ set(UNIFIED_RUNTIME_PLUGIN_ARGS
148150
Threads::Threads
149151
UnifiedRuntimeLoader
150152
UnifiedRuntime-Headers
153+
INCLUDE_DIRS
154+
"${UNIFIED_RUNTIME_SRC_INCLUDE_DIR}"
155+
"${UNIFIED_RUNTIME_COMMON_INCLUDE_DIR}"
151156
)
152157

153158
# We need for #include <ze_api.h> in common.h

sycl/plugins/unified_runtime/ur/ur.cpp

Lines changed: 0 additions & 28 deletions
This file was deleted.

sycl/plugins/unified_runtime/ur/ur.hpp

Lines changed: 0 additions & 298 deletions
This file was deleted.

0 commit comments

Comments
 (0)