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

Apply CommandQueue::WaitAsync() to not block GPU main thread #12

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

mingmingtasd
Copy link

@mingmingtasd mingmingtasd commented Jun 14, 2023

This PR move the DML implementation into GPU main thread (change in content/gpu/gpu_child_thread_receiver_bindings.cc) and applys CommandQueue::WaitAsync from the CL to not block GPU main.
I also remove the Sync GraphDMLImp:Build() and Compute() methods, because the mojom interface shares the same services implementation for Sync and Async.
I also verified that there is no performance regression for these changes.
@fdwr
@fujunwei @huningxin

Non-controversial nits.
@fdwr fdwr merged commit 81c2e6f into fdwr:dml_sd Jul 5, 2023
@mingmingtasd mingmingtasd deleted the waitAsync branch December 11, 2024 05:23
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