Skip to content
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

[SYCL] Make queue hash dependent on its unique ID #12578

Merged
merged 5 commits into from
Feb 21, 2024

Conversation

sergey-semenov
Copy link
Contributor

Using implementation pointer as the hash can lead to situations where queues consistently get assigned the same hash as a queue that has been destroyed (due to being allocated at the same address). In some cases, this can cause consistent hash collisions if a library uses these hashes as a fast way to detect a different queue being passed to it.

Using implementation pointer as the hash can lead to situations where
queues consistently get assigned the same hash as a queue that has been
destroyed (due to being allocated at the same address). This can cause
consistent hash collisions if a library uses hashes as a fast way
to detect a different queue where  the first one happens to be destoyed.
@sergey-semenov sergey-semenov merged commit 6b5cb12 into intel:sycl Feb 21, 2024
11 checks passed
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