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] Add sync for host task after barrier #15345

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

KseniyaTikhomirova
Copy link
Contributor

@KseniyaTikhomirova KseniyaTikhomirova commented Sep 10, 2024

PR includes the following fixes:

  • When submitting a command to an out-of-order queue we don't need to add the dependency from the last barrier to the scheduler if command is enqueued via UR because that means that UR backend will take care of the command dependency from barrier.

  • We used to update the last barrier only if barrier which is being submitted to the sycl::queue is not enqueued to the backend which is not correct, because there might be host tasks following that barrier which have to depend on it.

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
@againull againull merged commit d286ca2 into intel:sycl Sep 11, 2024
14 checks passed
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