-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL][L0] Optimize sync of an in-order queue #8601
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
Conversation
Signed-off-by: Sergey V Maslov <[email protected]>
@jandres742 : please review |
|
||
// For in-order queue just wait for the last command. | ||
if (isInOrderQueue()) { | ||
ZE_CALL(zeHostSynchronize, (LastCommandEvent->ZeEvent)); |
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.
this works only if LastCommandEvent is the true last event of all the objects in QueueMap::QueueGroup. if so, then this is good.
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.
yes, that's what is in LastCommandEvent
, the last command submitted to the PI/UR queue.
/verify with intel/llvm-test-suite#1652 |
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
Fixes regression introduced by #8601 Signed-off-by: Sergey V Maslov <[email protected]>
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
intel#8601 intel#8993 Signed-off-by: Jaime Arteaga <[email protected]>
No description provided.