-
Notifications
You must be signed in to change notification settings - Fork 787
[NFC][SYCL][Graph] Prepare for getSyclObjImpl to return raw ref #19224
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
Conversation
I'm planning to change `getSyclObjImpl` to return a raw reference in a later patch, uploading a bunch of PRs in preparation to that to make the subsequent review easier.
} else if (GraphImpl->getEventForNode(RootNode), | ||
sycl::detail::getSyclObjImpl(Node1)) { |
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.
This ,
doesn't make much sense to me, I assume it was supposed to be ==
(implemented on the right now). @intel/sycl-graphs-reviewers , @Bensuo can you confirm?
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.
Yes I think it is supposed to be ==
, guessing it was copied from an ASSERT_EQ
or something and slipped through. If there any issues with the change we can disable the test and I'll make an internal issue to look into fixing 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.
Local build passed with my change, so I hope CI will work this time. Thanks for a quick reply!
I'm planning to change
getSyclObjImpl
to return a raw reference in a later patch, uploading a bunch of PRs in preparation to that to make the subsequent review easier.I also did
s/sycl::detail::getSyclObjImpl/getSyclObjImpl/g
here to increase readability and to make it simpler to perform the future patch by simplesed
(and avoid multiline changes).This PR originated in
unittests/Extensions/CommandGraph
, but I had to modifyisSimilar
andhasSimilarStructure
in the implementation itself too.