Skip to content

[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

Merged
merged 4 commits into from
May 22, 2023

Conversation

smaslov-intel
Copy link
Contributor

No description provided.

@smaslov-intel smaslov-intel requested a review from a team as a code owner May 13, 2023 00:32
@smaslov-intel smaslov-intel temporarily deployed to aws May 13, 2023 01:24 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 13, 2023 02:55 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel requested a review from againull May 15, 2023 21:07
@smaslov-intel
Copy link
Contributor Author

@againull , @jandres742 : please review

@smaslov-intel smaslov-intel temporarily deployed to aws May 16, 2023 03:12 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 16, 2023 03:43 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel reopened this May 16, 2023
@smaslov-intel smaslov-intel temporarily deployed to aws May 16, 2023 22:20 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 16, 2023 22:52 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel requested a review from againull May 19, 2023 01:21
@smaslov-intel smaslov-intel temporarily deployed to aws May 19, 2023 01:44 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 19, 2023 02:15 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 19, 2023 03:57 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 19, 2023 04:28 — with GitHub Actions Inactive
Comment on lines +5855 to +5787
ZE_CALL(
zeCommandListAppendWaitOnEvents,
(CmdList->first, EventWaitList.Length, EventWaitList.ZeEventList));
}
ZE_CALL(zeCommandListAppendSignalEvent, (CmdList->first, Event->ZeEvent));
Copy link
Contributor

@againull againull May 19, 2023

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.

Copy link
Contributor

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.

Copy link
Contributor

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!

@smaslov-intel smaslov-intel temporarily deployed to aws May 22, 2023 20:25 — with GitHub Actions Inactive
@smaslov-intel smaslov-intel temporarily deployed to aws May 22, 2023 21:08 — with GitHub Actions Inactive
@againull againull merged commit c21fd47 into intel:sycl May 22, 2023
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 23, 2023
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 26, 2023
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.

3 participants