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

[RELAY] Codegen_c.h should include relay.function #5093

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

lhutton1
Copy link
Contributor

This prevents the build from failing when a 3rd party codegen includes codegen_c.h in its header file rather than in a source file. The reason this isn't an issue for dnnl, for example, is because the codegen class is declared in a source file. However, a 3rd party may have the codegen class declared in a header.

Change-Id: I015b2c66a50b64d0eb2e9efe336f6c18ea1fdc67
@zhiics zhiics merged commit e5c24d7 into apache:master Mar 18, 2020
@zhiics
Copy link
Member

zhiics commented Mar 18, 2020

Thanks @lhutton1

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
Change-Id: I015b2c66a50b64d0eb2e9efe336f6c18ea1fdc67
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Apr 17, 2020
Change-Id: I015b2c66a50b64d0eb2e9efe336f6c18ea1fdc67
@lhutton1 lhutton1 deleted the fix-missing-header branch July 8, 2020 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants