Skip to content

[SYCL] Fix USM free for descendent devices #6733

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 2 commits into from
Sep 9, 2022

Conversation

sergey-semenov
Copy link
Contributor

@sergey-semenov sergey-semenov commented Sep 8, 2022

Now that use of descendent devices of context members is supported, we cannot rely on always choosing the only device in single-device contexts. Remove this branch to always fetch the device from the platform.

Now that use of descendent devices of context members is supported,
we cannot rely on always choosing the only device in single-device
contexts. Remove this branch to always fetch the context from the
platform.
@sergey-semenov sergey-semenov requested a review from a team as a code owner September 8, 2022 14:06
@sergey-semenov
Copy link
Contributor Author

There is a test for this case here intel/llvm-test-suite#1232, but it requires another PR (#6719) as well to be merged.

@againull againull merged commit c49d494 into intel:sycl Sep 9, 2022
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