Skip to content

[SYCL][UR][L0 v2] Remove duplicate devices when creating a context #19509

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 1 commit into from
Jul 18, 2025

Conversation

igchor
Copy link
Member

@igchor igchor commented Jul 17, 2025

V2 stores device handles in a vector of size Platform->getNumDevices(). If there are more devices than that, we may have out-of-range acces.

@igchor igchor requested a review from a team as a code owner July 17, 2025 23:28
@igchor igchor temporarily deployed to WindowsCILock July 17, 2025 23:28 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock July 17, 2025 23:51 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock July 17, 2025 23:51 — with GitHub Actions Inactive
@igchor igchor changed the title [PATCH] [SYCL][UR][L0 v2] Remove duplicate devices when creating a context [SYCL][UR][L0 v2] Remove duplicate devices when creating a context Jul 18, 2025
@igchor igchor merged commit 22ee417 into intel:sycl Jul 18, 2025
48 of 49 checks passed
@igchor igchor deleted the uniqueDevices branch July 18, 2025 14:41
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.

2 participants