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][L0] Reset L0 events for UR sync-points #11553

Merged
merged 10 commits into from
Oct 27, 2023
3 changes: 3 additions & 0 deletions sycl/doc/design/CommandGraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ created on UR command-buffer enqueue.

There is also a *WaitEvent* used by the `ur_exp_command_buffer_handle_t` class
in the prefix to wait on any dependencies passed in the enqueue wait-list.
This WaitEvent is reset at the end of the suffix, along with reset commands
to reset the L0 events used to implement the UR sync-points back to the
non-signaled state.

![L0 command-buffer diagram](images/L0_UR_command-buffer.svg)

Expand Down
18 changes: 1 addition & 17 deletions sycl/doc/design/images/L0_UR_command-buffer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions sycl/plugins/unified_runtime/CMakeLists.txt
EwanC marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
include(FetchContent)

set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
# commit cf26de283a1233e6c93feb085acc10c566888b59
# Merge: 3a3aae38 2fd9dea2
# commit: 7c8617b3710736db642585fe310a64e19e059d2e
# Merge: 20d4f49 9a13af
# Author: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
# Date: Wed Oct 25 10:36:48 2023 +0100
# Merge pull request #940 from Naghasan/victor/kernel-fusion-amd
# [UR][HIP] Enable kernel finalization using comgr
set(UNIFIED_RUNTIME_TAG cf26de283a1233e6c93feb085acc10c566888b59)
# Date: Thu Oct 26 10:20:03 2023 +0100
# Merge pull request #965 from Bensuo/ewan/L0_internal_event_fix
# [Command-buffer][L0] Reset sync-point events
set(UNIFIED_RUNTIME_TAG 7c8617b3710736db642585fe310a64e19e059d2e)

if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)
set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}")
Expand Down