Skip to content

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
reble pushed a commit that referenced this pull request Sep 5, 2025
undef_debug_info.ll was originally added to test that we did not
generate debug info with undef, because we were unable to handle that
properly. Later on, when we were able to handle that properly, I removed
the logic for keeping undef out of debug info in #375, at which point
this test no longer tested anything useful. This PR finally removes it.
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.

3 participants