-
Notifications
You must be signed in to change notification settings - Fork 771
[SYCL] Return ref to shared_ptr from handler::getOrInsertHandlerKernelBundle() #18588
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
base: sycl
Are you sure you want to change the base?
[SYCL] Return ref to shared_ptr from handler::getOrInsertHandlerKernelBundle() #18588
Conversation
…lBundle() It's reference to impl of handler, so it's correct to return the reference. Signed-off-by: Alexandr Konovalov <[email protected]>
Signed-off-by: Alexandr Konovalov <[email protected]>
arc fails tracked by #18668 |
@uditagarwal97 , what do you think about it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to think about this a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the idea! [SYCL] enable_shared_from_this for kernel_bundle_impl #18899 opened. |
It's reference to impl of handler, so it's correct to return the reference.