Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

This way much less friend declarations are needed.

This way much less `friend` declarations are needed.
@aelovikov-intel aelovikov-intel requested review from a team as code owners December 2, 2025 19:12
@aelovikov-intel aelovikov-intel changed the title [NFCI][SYCL] Consolidate [get|create]SyclObj[From]Impl into ImplUtils` [NFCI][SYCL] Consolidate [get|create]SyclObj[From]Impl into ImplUtils Dec 2, 2025
Copy link
Contributor Author

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

With that, I'm not even sure if detail::ObjBase is necessary... However, even if it is, it would be easier to introduce it on top of this PR.

Comment on lines -56 to -58
std::add_lvalue_reference_t<typename std::remove_reference_t<
decltype(getSyclObjImpl(std::declval<T>()))>::element_type>
ImplRef) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically, I could preserve this SFINAE logic but I don't see much value in doing that.

Copy link
Member

@adamfidel adamfidel left a comment

Choose a reason for hiding this comment

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

Graph changes make sense. They are in line with the changes to the rest of the files.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

Massive improvement. Good thinking! 🚀

@aelovikov-intel aelovikov-intel merged commit 667c45a into intel:sycl Dec 3, 2025
28 checks passed
@aelovikov-intel aelovikov-intel deleted the impl-utils branch December 3, 2025 15:50
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.

4 participants