Skip to content
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

[SYCL] Store the Adapter as weak_ptr in build results #17802

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

slawekptak
Copy link
Contributor

No description provided.

@slawekptak slawekptak marked this pull request as ready for review April 3, 2025 07:13
@slawekptak slawekptak requested a review from a team as a code owner April 3, 2025 07:13
Copy link
Contributor

@vinser52 vinser52 left a comment

Choose a reason for hiding this comment

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

Does this change impact the performance?

@slawekptak
Copy link
Contributor Author

Does this change impact the performance?

This change should reduce the shared_ptr copies on the fast path by 2, right? I haven't measured this one, but this is one of the changes in the series of shared_ptr optimizations, so I would expect that overall the performance should be better.

@vinser52
Copy link
Contributor

vinser52 commented Apr 4, 2025

Does this change impact the performance?

This change should reduce the shared_ptr copies on the fast path by 2, right? I haven't measured this one, but this is one of the changes in the series of shared_ptr optimizations, so I would expect that overall the performance should be better.

Thank you! That was exactly my question: if this change impacts the hot path.

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