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] Refine barrier semantics #375

Closed
wants to merge 1 commit into from

Conversation

EwanC
Copy link
Collaborator

@EwanC EwanC commented Jul 1, 2024

Changes the semantics of sycl_ext_oneapi_enqueue_barrier commands recorded from a queue into a SYCL-Graph.

The current semantics are that a barrier without a wait-list will depend on all leaf nodes in the graph, and be a dependency of any subsequent node added to the graph.

After discussion with users, this change updates the behavior of barriers to only depend on leaf nodes from the same recording queue, and only commands recorded from the same queue will have a dependency on the barrier.

Draft upstream PR for CI testing intel#14363

Changes the semantics of
[sycl_ext_oneapi_enqueue_barrier](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/supported/sycl_ext_oneapi_enqueue_barrier.asciidoc) commands recorded from a queue into a
SYCL-Graph.

The current semantics are that a barrier without a wait-list will
depend on all leaf nodes in the graph, and be a dependency of any
subsequent node added to the graph.

After discussion with users, this change updates the behavior of
barriers to only depend on leaf nodes from the same recording queue,
and only commands recorded from the same queue will have a dependency
on the barrier.
@EwanC EwanC force-pushed the ewan/barrier_graph_recording branch from 58cb380 to 645a81d Compare July 1, 2024 14:33
@EwanC
Copy link
Collaborator Author

EwanC commented Jul 2, 2024

Closing and moving to upstream PR intel#14363

@EwanC EwanC closed this Jul 2, 2024
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.

2 participants