-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL][L0] Optimize barrier for in-order queue #9446
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
@againull , @jandres742 : please review |
ZE_CALL( | ||
zeCommandListAppendWaitOnEvents, | ||
(CmdList->first, EventWaitList.Length, EventWaitList.ZeEventList)); | ||
} | ||
ZE_CALL(zeCommandListAppendSignalEvent, (CmdList->first, Event->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.
Looks good to me but it would be nice to get confirmation from @jandres742 here that it's going to work as expected - i.e. Event->ZeEvent is signaled only after we waited for all events in EventWaitList.ZeEventList.
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.
Event->ZeEvent is signaled only after we waited for all events in EventWaitList.ZeEventList.
correct. if it doesnt work, then that would be a bug, but currently this works and is stable.
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.
@jandres742 Thanks a lot for confirming!
Signed-off-by: smaslov <[email protected]>
Signed-off-by: smaslov <[email protected]>
Signed-off-by: smaslov <[email protected]>
Signed-off-by: smaslov <[email protected]>
e265061
to
a845355
Compare
intel#9446 Signed-off-by: Jaime Arteaga <[email protected]>
intel#9446 Signed-off-by: Jaime Arteaga <[email protected]>
No description provided.