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

[Backport][Runtime] Fix ICE from Clang #15637

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

junrushao
Copy link
Member

Backported from #15635. This template is never instantiated on apache:main yet, but in case of future ICE, I backported the related fix from Unity branch.

This PR fixes an error reporting from Clang on the line below:

```
/.../include/tvm/runtime/packed_func.h:1706:3: error: no matching function for call to 'F'
  detail::parameter_pack::EnumerateWithArg<Args...>::template F<TVMArgsSetterApply>(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
@junrushao junrushao marked this pull request as ready for review August 28, 2023 17:19
@junrushao junrushao changed the title [Runtime] Fix ICE from Clang [Backport][Runtime] Fix ICE from Clang Aug 28, 2023
@junrushao
Copy link
Member Author

CC: @kparzysz-quic

@Hzfengsy Hzfengsy merged commit 34bd9be into apache:main Aug 29, 2023
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