-
Notifications
You must be signed in to change notification settings - Fork 745
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] Improve events cleanup for immediate command lists #7715
Conversation
Invite @rdeodhar for review and sync with his works in the area |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides CI testing, please test SYCL benchmarks on PVC with immediate commandlists turned on.
Tested SYCL benchmarks, no failures caused by this PR. |
* Limit cleaning up events to a single command list. * Reuse code.
Currently we call zeEventQueryStatus every time before removing an event from an immediate command list.
There are several improvements which can be done:
Made resetCommandLists to call CleanupEventsInImmCmdLists to have single point of entry.