Skip to content

Commit 732a011

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

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: Thu Feb 13 11:43:34 2025 +0000
55
# Merge pull request #2680 from ldorau/Set_UMF_CUDA_INCLUDE_DIR_to_not_fetch_cudart_from_gitlab
66
# Do not fetch cudart from gitlab for UMF
7-
set(UNIFIED_RUNTIME_TAG d03f19a88e42cb98be9604ff24b61190d1e48727)
7+
set(UNIFIED_RUNTIME_TAG "ewan/rename_enqueue")

sycl/source/detail/graph_impl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,8 @@ exec_graph_impl::enqueue(const std::shared_ptr<sycl::detail::queue_impl> &Queue,
10511051
ur_result_t Res =
10521052
Queue->getAdapter()
10531053
->call_nocheck<
1054-
sycl::detail::UrApiKind::urCommandBufferEnqueueExp>(
1055-
CommandBuffer, Queue->getHandleRef(), 0, nullptr, &UREvent);
1054+
sycl::detail::UrApiKind::urEnqueueCommandBufferExp>(
1055+
Queue->getHandleRef(), CommandBuffer, 0, nullptr, &UREvent);
10561056
NewEvent->setHandle(UREvent);
10571057
if (Res == UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES) {
10581058
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)