Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

This is a pre-requisite to eliminate PlatformImplPtr and use platform_impl by raw pointer/reference throught the SYCL RT library.

…Handler`

This is a pre-requisite to eliminate `PlatformImplPtr` and use
`platform_impl` by raw pointer/reference throught the SYCL RT library.
@aelovikov-intel
Copy link
Contributor Author

I think I'll need something like https://stackoverflow.com/questions/657155/how-to-enable-shared-from-this-of-both-parent-and-derived at a later point (at least before the next major release), but that could be ignored for now.

@againull againull merged commit a2d44f7 into intel:sycl Apr 24, 2025
37 of 38 checks passed
@aelovikov-intel aelovikov-intel deleted the private-platform_impl-ctor branch April 24, 2025 16:01
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Jun 3, 2025
…ared`

And once that is guaranteed, inherit it from
`std::enable_shared_from_this`. Further simplifications based on
`[shared|weak]_from_this` are left to subsequent PRs.

Earlier related PRs:
intel#18715 same for `queue_impl`
intel#18227 same for `device_impl`
intel#18141 similar for `platform_impl`
aelovikov-intel added a commit that referenced this pull request Jun 4, 2025
…ared` (#18795)

And once that is guaranteed, inherit it from
`std::enable_shared_from_this`. Further simplifications based on
`[shared|weak]_from_this` are left to subsequent PRs.

Earlier related PRs:
#18715 same for `queue_impl`
#18227 same for `device_impl`
#18141 similar for `platform_impl`

Co-authored-by: andrei.elovikov <aeloviko@smtp.intel.com>
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.

3 participants