Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL][Graph] Update to UR cmd-buf enqueue rename #16747

Draft
wants to merge 1 commit into
base: sycl
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sycl/cmake/modules/FetchUnifiedRuntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion sycl/cmake/modules/UnifiedRuntimeTag.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions sycl/source/detail/graph_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,8 @@ exec_graph_impl::enqueue(const std::shared_ptr<sycl::detail::queue_impl> &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(
Expand Down
4 changes: 2 additions & 2 deletions sycl/source/detail/scheduler/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3583,8 +3583,8 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
MEvent->setHostEnqueueTime();
ur_result_t Err =
MQueue->getAdapter()
->call_nocheck<UrApiKind::urCommandBufferEnqueueExp>(
CmdBufferCG->MCommandBuffer, MQueue->getHandleRef(),
->call_nocheck<UrApiKind::urEnqueueCommandBufferExp>(
MQueue->getHandleRef(), CmdBufferCG->MCommandBuffer,
RawEvents.size(), RawEvents.empty() ? nullptr : &RawEvents[0],
Event);
SetEventHandleOrDiscard();
Expand Down
Loading