[SYCL] Revert support for templated call operators #8047
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR reverts the support for templated call operators in functors and functors without call operators which were introduced in #7104 and #7970
We found a regression internally with #7104 that #7970 attempted to fix. A subsequent review of #7970 internally, lead to identifying some pre-existing caveats with regards to supporting templated call operators in functor, supporting cases where there are multiple call operators in functor and making sure the right instantiated version is selected etc.
In order to better address the pre-existing issues as well as gaps in #7970 , it was decided to revert the above two
PRs.