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] Add implicit queue recording mechanism #14453

Merged
merged 17 commits into from
Aug 8, 2024

Conversation

fabiomestre
Copy link
Contributor

Updates the semantics of the record & replay API to allow queues to be
implicitly set to recording mode when submitting command-groups
that contains dependencies from other recording queues.

sycl/source/detail/graph_impl.hpp Show resolved Hide resolved
sycl/source/handler.cpp Outdated Show resolved Hide resolved
sycl/source/handler.cpp Outdated Show resolved Hide resolved
sycl/source/detail/graph_impl.cpp Outdated Show resolved Hide resolved
sycl/test-e2e/Graph/RecordReplay/transitive_queue.cpp Outdated Show resolved Hide resolved
@fabiomestre fabiomestre marked this pull request as ready for review July 29, 2024 18:40
@fabiomestre fabiomestre requested review from a team as code owners July 29, 2024 18:40
Copy link
Contributor

@EwanC EwanC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice testing too

sycl/test-e2e/Graph/RecordReplay/transitive_queue.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@reble reble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fabiomestre
Copy link
Contributor Author

@intel/llvm-gatekeepers Would it be possible to merge this? The HIP job in CI does not seem to be working at the moment.

@fabiomestre
Copy link
Contributor Author

@intel/llvm-gatekeepers This should be ready to be merged.

@sommerlukas sommerlukas merged commit bdecdd2 into intel:sycl Aug 8, 2024
14 checks passed
EwanC added a commit to reble/llvm that referenced this pull request Aug 26, 2024
Use `std::enable_shared_from_this` to remove need for passing
a shared pointer of `this` as a function parameter.

`std::enable_shared_from_this` usage was previously introduced
to graph code in intel#14453 (comment)
steffenlarsen pushed a commit that referenced this pull request Aug 30, 2024
Use `std::enable_shared_from_this` to remove need for passing a shared
pointer of `this` as a function parameter.

`std::enable_shared_from_this` usage was previously introduced to graph
code in #14453 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants