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

Waiting on events returned from executable graph submission does not work #139

Closed
Bensuo opened this issue Apr 13, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working Graph Implementation Related to DPC++ implementation and testing

Comments

@Bensuo
Copy link
Collaborator

Bensuo commented Apr 13, 2023

Currently a wait is called on the queue inside the graph immediately after enqueue. Examples which attempt to wait on the event returned from the graph submission will fail without this wait occuring. This should be investigated so that we can remove the queue wait from graph submission.

@Bensuo Bensuo added bug Something isn't working Graph Implementation Related to DPC++ implementation and testing labels Apr 13, 2023
@Bensuo Bensuo self-assigned this Apr 13, 2023
@Bensuo Bensuo changed the title Waiting on events returned from graph submission does not work Waiting on events returned from executable graph submission does not work Apr 13, 2023
@EwanC EwanC assigned EwanC and unassigned Bensuo May 26, 2023
EwanC added a commit that referenced this issue May 29, 2023
The current approach uses the same LO PI event for all submissions
of the same graph, and also doesn't use the wait events to
enforce dependencies on the command-list submission. By doing these
in the L0 adapter, we can remove the blocking queue wait from
our graphs submission code in the runtime.

Closes issue #139
EwanC added a commit that referenced this issue May 31, 2023
The current approach uses the same LO PI event for all submissions
of the same graph, and also doesn't use the wait events to
enforce dependencies on the command-list submission. By doing these
in the L0 adapter, we can remove the blocking queue wait from
our graphs submission code in the runtime.

Closes issue #139
@EwanC EwanC closed this as completed May 31, 2023
reble pushed a commit that referenced this issue Jun 6, 2023
The current approach uses the same LO PI event for all submissions
of the same graph, and also doesn't use the wait events to
enforce dependencies on the command-list submission. By doing these
in the L0 adapter, we can remove the blocking queue wait from
our graphs submission code in the runtime.

Closes issue #139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Graph Implementation Related to DPC++ implementation and testing
Projects
None yet
Development

No branches or pull requests

2 participants