8000 [NFC][SYCL] Move `platform::khr_get_default_context` impl to `platform_impl.cpp` by aelovikov-intel · Pull Request #19157 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[NFC][SYCL] Move platform::khr_get_default_context impl to platform_impl.cpp #19157

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

Conversation

aelovikov-intel
Copy link
Contributor

Noticed this code as part of the ongoing refactoring to prefer raw ptrs/refs for SYCL RT *_impl objects. The usage of this API in queue_impl doesn't need to go through user-visible SYCL objects, so move the implementation and use the internal interfrace in queue_impl and delegate platform::khr_get_default_context to platform_impl.

…m_impl.cpp`

Noticed this code as part of the ongoing refactoring to prefer raw
ptrs/refs for SYCL RT `*_impl` objects. The usage of this API in
`queue_impl` doesn't need to go through user-visible SYCL objects, so
move the implementation and use the internal interfrace in `queue_impl`
and delegate `platform::khr_get_default_context` to `platform_impl`.
@aelovikov-intel aelovikov-intel merged commit 4ac0638 into intel:sycl Jun 25, 2025
25 checks passed
@aelovikov-intel aelovikov-intel deleted the move-khr_get_default_context branch June 25, 2025 21:44
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
0