Skip to content

Commit 6ac4ddc

Browse files
committed
[SYCL][Graph] Update to UR cmd-buf enqueue rename
Reflects change in name of UR entry-point from `urCommandBufferEnqueueExp` to `urEnqueueCommandBufferExp` in oneapi-src/unified-runtime#2606
1 parent 2ea15fb commit 6ac4ddc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ if(SYCL_UR_USE_FETCH_CONTENT)
116116
CACHE PATH "Path to external '${name}' adapter source dir" FORCE)
117117
endfunction()
118118

119-
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
119+
set(UNIFIED_RUNTIME_REPO "https://github.com/Bensuo/unified-runtime.git")
120120
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/UnifiedRuntimeTag.cmake)
121121

122122
set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES")

sycl/cmake/modules/UnifiedRuntimeTag.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Date: Wed Jan 22 15:54:22 2025 +0000
55
# Merge pull request #2193 from aarongreig/aaron/clarifyIsNativeHandleOwned
66
# Clarify spec around isNativeHandleOwned.
7-
set(UNIFIED_RUNTIME_TAG 3f6dbf3e4bec2ba7bfe7e4cebe998b51852baadc)
7+
set(UNIFIED_RUNTIME_TAG "cmd-buf_enqueue_refactor")

sycl/source/detail/graph_impl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1058,8 +1058,8 @@ exec_graph_impl::enqueue(const std::shared_ptr<sycl::detail::queue_impl> &Queue,
10581058
ur_result_t Res =
10591059
Queue->getAdapter()
10601060
->call_nocheck<
1061-
sycl::detail::UrApiKind::urCommandBufferEnqueueExp>(
1062-
CommandBuffer, Queue->getHandleRef(), 0, nullptr, &UREvent);
1061+
sycl::detail::UrApiKind::urEnqueueCommandBufferExp>(
1062+
Queue->getHandleRef(), CommandBuffer, 0, nullptr, &UREvent);
10631063
NewEvent->setHandle(UREvent);
10641064
if (Res == UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES) {
10651065
throw sycl::exception(

sycl/source/detail/scheduler/commands.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3583,8 +3583,8 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
35833583
MEvent->setHostEnqueueTime();
35843584
ur_result_t Err =
35853585
MQueue->getAdapter()
3586-
->call_nocheck<UrApiKind::urCommandBufferEnqueueExp>(
3587-
CmdBufferCG->MCommandBuffer, MQueue->getHandleRef(),
3586+
->call_nocheck<UrApiKind::urEnqueueCommandBufferExp>(
3587+
MQueue->getHandleRef(), CmdBufferCG->MCommandBuffer,
35883588
RawEvents.size(), RawEvents.empty() ? nullptr : &RawEvents[0],
35893589
Event);
35903590
SetEventHandleOrDiscard();

0 commit comments

Comments
 (0)