Skip to content

Test#18454

Closed
igchor wants to merge 2 commits intointel:syclfrom
igchor:test
Closed

Test#18454
igchor wants to merge 2 commits intointel:syclfrom
igchor:test

Conversation

@igchor
Copy link
Contributor

@igchor igchor commented May 14, 2025

No description provided.

unless Host Tasks are used.

Without Host Tasks, we can just rely on UR for ordering.
Having no last event means that ext_oneapi_get_last_event()
needs to submit a barrier to return an event to the user.
Similarly, ext_oneapi_submit_barrier() now always submits
a barrier, even for in-order queues.

Whenever Host Tasks are used we need to start recording
all events. This is needed because of how kernel submission
synchronizes with Host Tasks. With a following scenario:

q.host_task();
q.submit_kernel();
q.host_task():

The kernel won't even be submitted to UR until the first
Host Task completes. To properly synchronize the second
Host Task we need to keep the event describing kernel submission.
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 00:12 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 00:34 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 00:34 — with GitHub Actions Inactive
@igchor igchor closed this May 19, 2025
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.

1 participant