Skip to content

[SYCL][NFCI] Ensure device_impl is only created via platform_impl::getOrMakeDeviceImpl #18227

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
Apr 29, 2025

Conversation

aelovikov-intel
Copy link
Contributor

Once that is guaranteed, it can enable further refactoring in subsequent PRs.

@aelovikov-intel
Copy link
Contributor Author

@cperkinsintel , @intel/llvm-reviewers-runtime , ping.

@aelovikov-intel
Copy link
Contributor Author

BMG runner failure is unrelated. Previous revision passed all the testing, no need to restart this fail.

@aelovikov-intel aelovikov-intel merged commit aa2c876 into intel:sycl Apr 29, 2025
24 of 25 checks passed
@aelovikov-intel aelovikov-intel deleted the private-device-impl-ctor branch April 29, 2025 23:11
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.

2 participants