[SYCL][Graph] Update spec for native recording mode#21616
Merged
againull merged 6 commits intointel:syclfrom Apr 3, 2026
Merged
[SYCL][Graph] Update spec for native recording mode#21616againull merged 6 commits intointel:syclfrom
againull merged 6 commits intointel:syclfrom
Conversation
mmichel11
reviewed
Mar 24, 2026
mmichel11
reviewed
Mar 25, 2026
Co-authored-by: Matthew Michel <matthew.michel@intel.com>
mmichel11
reviewed
Mar 31, 2026
Contributor
|
@intel/llvm-gatekeepers please consider merging |
KornevNikita
pushed a commit
that referenced
this pull request
Apr 15, 2026
Native recording enables SYCL Graph to directly leverage the new Unified
Runtime graph API (and thus the native backend graph API, e.g. level
zero graph) during record-and-replay, rather than going through Unified
Runtime’s `Command-Buffer` abstraction. When native recording is
enabled, all commands, whether submitted via SYCL or directly via a
backend such as level zero, are captured by the backend and finalized
into an executable native graph.
It is enabled with a new `enable_native_recording` property being passed
to the property list.
```c++
exp_ext::command_graph graph{
queue.get_context(), queue.get_device(),
{exp_ext::property::graph::enable_native_recording{}}};
```
There are some functional limitations of the native mode, which are
outlined in the changes to the SYCL Graph spec in PR
#21616.
Related PRs:
- Update to the SYCL Graph spec:
#21616
- Small changes to add `empty()` to the graph:
#21554
---------
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Co-authored-by: Krzysztof Filipek <krzysztof.filipek@intel.com>
Co-authored-by: Krzysztof Swiecicki <krzysztof.swiecicki@intel.com>
Co-authored-by: Pablo Reble <pablo.reble@intel.com>
Co-authored-by: Matthew Michel <matthew.michel@intel.com>
Co-authored-by: Wang, Zhiming <zhiming.wang@intel.com>
Co-authored-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
github-actions bot
pushed a commit
to oneapi-src/unified-runtime
that referenced
this pull request
Apr 16, 2026
Native recording enables SYCL Graph to directly leverage the new Unified
Runtime graph API (and thus the native backend graph API, e.g. level
zero graph) during record-and-replay, rather than going through Unified
Runtime’s `Command-Buffer` abstraction. When native recording is
enabled, all commands, whether submitted via SYCL or directly via a
backend such as level zero, are captured by the backend and finalized
into an executable native graph.
It is enabled with a new `enable_native_recording` property being passed
to the property list.
```c++
exp_ext::command_graph graph{
queue.get_context(), queue.get_device(),
{exp_ext::property::graph::enable_native_recording{}}};
```
There are some functional limitations of the native mode, which are
outlined in the changes to the SYCL Graph spec in PR
intel/llvm#21616.
Related PRs:
- Update to the SYCL Graph spec:
intel/llvm#21616
- Small changes to add `empty()` to the graph:
intel/llvm#21554
---------
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Co-authored-by: Krzysztof Filipek <krzysztof.filipek@intel.com>
Co-authored-by: Krzysztof Swiecicki <krzysztof.swiecicki@intel.com>
Co-authored-by: Pablo Reble <pablo.reble@intel.com>
Co-authored-by: Matthew Michel <matthew.michel@intel.com>
Co-authored-by: Wang, Zhiming <zhiming.wang@intel.com>
Co-authored-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the SYCL graph specification to document the
property::graph::enable_native_recording. In native recording mode, graph capture is delegated to the backend, rather than managed at the SYCL level using Unified Runtime's Command-Buffer feature.