Skip to content

Commit 4237ced

Browse files
committed
[SYCL][Graph] Update to UR cmd-buf enqueue rename
**Same PR as was closed in #16747 due to #16982 Reflects change in name of UR entry-point from `urCommandBufferEnqueueExp` to `urEnqueueCommandBufferExp` in oneapi-src/unified-runtime#2606
1 parent 6d17a08 commit 4237ced

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
@@ -122,7 +122,7 @@ elseif(SYCL_UR_USE_FETCH_CONTENT)
122122
CACHE PATH "Path to external '${name}' adapter source dir" FORCE)
123123
endfunction()
124124

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

128128
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 Feb 12 10:20:12 2025 +0000
55
# Merge pull request #2672 from lukaszstolarczuk/umf-with-icx-build-0.11.0-dev2
66
# common: Bump UMF version to v0.11.0-dev2
7-
set(UNIFIED_RUNTIME_TAG 064d3560cbcc24a40380b57adb3690b2bc256d6e)
7+
set(UNIFIED_RUNTIME_TAG "ewan/rename_enqueue")

sycl/source/detail/graph_impl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ exec_graph_impl::enqueue(const std::shared_ptr<sycl::detail::queue_impl> &Queue,
10491049
ur_result_t Res =
10501050
Queue->getAdapter()
10511051
->call_nocheck<
1052-
sycl::detail::UrApiKind::urCommandBufferEnqueueExp>(
1053-
CommandBuffer, Queue->getHandleRef(), 0, nullptr, &UREvent);
1052+
sycl::detail::UrApiKind::urEnqueueCommandBufferExp>(
1053+
Queue->getHandleRef(), CommandBuffer, 0, nullptr, &UREvent);
10541054
NewEvent->setHandle(UREvent);
10551055
if (Res == UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES) {
10561056
throw sycl::exception(

sycl/source/detail/scheduler/commands.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3601,8 +3601,8 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
36013601
MEvent->setHostEnqueueTime();
36023602
if (auto Result =
36033603
MQueue->getAdapter()
3604-
->call_nocheck<UrApiKind::urCommandBufferEnqueueExp>(
3605-
CmdBufferCG->MCommandBuffer, MQueue->getHandleRef(),
3604+
->call_nocheck<UrApiKind::urEnqueueCommandBufferExp>(
3605+
MQueue->getHandleRef(), CmdBufferCG->MCommandBuffer,
36063606
RawEvents.size(),
36073607
RawEvents.empty() ? nullptr : &RawEvents[0], Event);
36083608
Result != UR_RESULT_SUCCESS)

0 commit comments

Comments
 (0)