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

Open
wants to merge 4 commits into
base: sycl
Choose a base branch
from
Open
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
12 changes: 6 additions & 6 deletions sycl/cmake/modules/UnifiedRuntimeTag.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# commit 9d6542bac16db69d907002cb0f8c724c7a50d2dc
# Merge: 0e6adfb6 04882ba3
# commit cc60d0872f1ffe0656bc9ec25db5b5cbb3cbafd6
# Merge: 0c11a742 ec5a3bd1
# Author: Kenneth Benzie (Benie) <[email protected]>
# Date: Thu Feb 6 11:30:48 2025 +0000
# Merge pull request #2655 from hvdijk/nativecpu-null-phevent
# [NativeCPU] Handle null phEvent.
set(UNIFIED_RUNTIME_TAG 9d6542bac16db69d907002cb0f8c724c7a50d2dc)
# Date: Thu Feb 6 17:59:43 2025 +0000
# Merge pull request #2606 from Bensuo/cmd-buf_enqueue_refactor
# Rename urCommandBufferEnqueueExp to urEnqueueCommandBufferExp
set(UNIFIED_RUNTIME_TAG cc60d0872f1ffe0656bc9ec25db5b5cbb3cbafd6)
4 changes: 2 additions & 2 deletions sycl/source/detail/graph_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,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 @@ -3601,8 +3601,8 @@ ur_result_t ExecCGCommand::enqueueImpQueue() {
MEvent->setHostEnqueueTime();
if (auto Result =
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);
Result != UR_RESULT_SUCCESS)
Expand Down
Loading