Skip to content

[NFC][SYCL] Change context_impl::getDevices to return devices_range #19456

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 16, 2025

Conversation

aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Jul 15, 2025

devices_range helper was added in
#19405 to facilitate ongoing refactoring of using more raw ptr/ref to *_impl objects.

Also update some of the callsites that can use that instead of more
expensive get_info<info::context::devices>().

`devices_range` helper was added in
intel#19405 to facilitate ongoing
refactoring of using more raw ptr/ref to `*_impl` objects.

Also update some of the callsites that can use that instead of more
expensive `get_info<info::context::devices>()`.
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@steffenlarsen steffenlarsen merged commit dde3359 into intel:sycl Jul 16, 2025
50 of 53 checks passed
@aelovikov-intel aelovikov-intel deleted the context_impl_get_devices branch July 16, 2025 14:32
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