Skip to content

[SYCL] optimize wait() for in-order queue #18656

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

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from
Open

Conversation

igchor
Copy link
Member

@igchor igchor commented May 23, 2025

This shortens the critical section for in-order and out-of-order cases and avoids taking the lock entirely is MNoEventMode is set.

@igchor igchor requested a review from a team as a code owner May 23, 2025 19:32
@igchor igchor requested a review from cperkinsintel May 23, 2025 19:32
@igchor igchor temporarily deployed to WindowsCILock May 23, 2025 19:42 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 23, 2025 20:09 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 23, 2025 20:09 — with GitHub Actions Inactive
@igchor
Copy link
Member Author

igchor commented May 23, 2025

Performance results are a bit noisy, but it seems there is some improvement on BMG: https://oneapi-src.github.io/unified-runtime/performance/?runs=Baseline_PVC_L0v2%2CBaseline_BMG_L0v2%2Cv2_wait_opt_pvc%2Cv2_wait_opt_bmg

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.

1 participant