Skip to content

[SYCL][UR][L0 v2] fix wait_list_view contruction #18209

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 1 commit into
base: sycl
Choose a base branch
from

Conversation

igchor
Copy link
Member

@igchor igchor commented Apr 25, 2025

getWaitListView assumed that calling data() on ane empty vector will return nullptr - this is not guaranteed.

This lead to assert in operator bool() trigerring.

Implement a constructor for wait_list_view that will set the handles to NULL if num is 0.

@igchor igchor requested a review from a team as a code owner April 25, 2025 22:04
@igchor igchor temporarily deployed to WindowsCILock April 25, 2025 22:04 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock April 25, 2025 22:14 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock April 25, 2025 22:24 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock April 25, 2025 22:24 — with GitHub Actions Inactive
getWaitListView assumed that calling data() on ane
empty vector will return nullptr - this is not guaranteed.

This lead to assert in operator bool() trigerring.

Implement a constructor for wait_list_view that will
set the handles to NULL if num is 0.
@igchor
Copy link
Member Author

igchor commented Apr 25, 2025

@intel/llvm-gatekeepers this is ready to be merged

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