diff --git a/sycl/cmake/modules/FetchUnifiedRuntime.cmake b/sycl/cmake/modules/FetchUnifiedRuntime.cmake index 72841724fa01d..202bfdcdc19e3 100644 --- a/sycl/cmake/modules/FetchUnifiedRuntime.cmake +++ b/sycl/cmake/modules/FetchUnifiedRuntime.cmake @@ -116,7 +116,7 @@ if(SYCL_UR_USE_FETCH_CONTENT) CACHE PATH "Path to external '${name}' adapter source dir" FORCE) endfunction() - set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") + set(UNIFIED_RUNTIME_REPO "https://github.com/Bensuo/unified-runtime.git") include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/UnifiedRuntimeTag.cmake) set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES") diff --git a/sycl/cmake/modules/UnifiedRuntimeTag.cmake b/sycl/cmake/modules/UnifiedRuntimeTag.cmake index 82f7986f312b1..cf65cfc6fd56e 100644 --- a/sycl/cmake/modules/UnifiedRuntimeTag.cmake +++ b/sycl/cmake/modules/UnifiedRuntimeTag.cmake @@ -4,4 +4,4 @@ # Date: Wed Jan 22 15:54:22 2025 +0000 # Merge pull request #2193 from aarongreig/aaron/clarifyIsNativeHandleOwned # Clarify spec around isNativeHandleOwned. -set(UNIFIED_RUNTIME_TAG 3f6dbf3e4bec2ba7bfe7e4cebe998b51852baadc) +set(UNIFIED_RUNTIME_TAG "cmd-buf_enqueue_refactor") diff --git a/sycl/source/detail/graph_impl.cpp b/sycl/source/detail/graph_impl.cpp index e6181a559d8e6..3e91627452286 100644 --- a/sycl/source/detail/graph_impl.cpp +++ b/sycl/source/detail/graph_impl.cpp @@ -1058,8 +1058,8 @@ exec_graph_impl::enqueue(const std::shared_ptr &Queue, ur_result_t Res = Queue->getAdapter() ->call_nocheck< - sycl::detail::UrApiKind::urCommandBufferEnqueueExp>( - CommandBuffer, Queue->getHandleRef(), 0, nullptr, &UREvent); + sycl::detail::UrApiKind::urEnqueueCommandBufferExp>( + Queue->getHandleRef(), CommandBuffer, 0, nullptr, &UREvent); NewEvent->setHandle(UREvent); if (Res == UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES) { throw sycl::exception( diff --git a/sycl/source/detail/scheduler/commands.cpp b/sycl/source/detail/scheduler/commands.cpp index ac00313e670de..430ca25b98cf8 100644 --- a/sycl/source/detail/scheduler/commands.cpp +++ b/sycl/source/detail/scheduler/commands.cpp @@ -3583,8 +3583,8 @@ ur_result_t ExecCGCommand::enqueueImpQueue() { MEvent->setHostEnqueueTime(); ur_result_t Err = MQueue->getAdapter() - ->call_nocheck( - CmdBufferCG->MCommandBuffer, MQueue->getHandleRef(), + ->call_nocheck( + MQueue->getHandleRef(), CmdBufferCG->MCommandBuffer, RawEvents.size(), RawEvents.empty() ? nullptr : &RawEvents[0], Event); SetEventHandleOrDiscard();