Skip to content

Conversation

@huajsj
Copy link
Contributor

@huajsj huajsj commented Mar 10, 2023

Symptom:
After setting DNNL="C_SRC" to generate C code, the compiler reported an error that the function "BindToCallNodeArgs" was missing and there was a problem with linking "dtype_dl2dnnl". Another issue is the compile complain for ambiguous "GetRootCall".

After fixing the compilation issue, when executing relay.build, an error occurred complaining "Check failed: const_var_ndarray_ .count(var) > 0 (0 vs. 0)"

Solution:
Update the cmake file and change the codegen.cc.

Symptom:
After setting DNNL="C_SRC" to generate C code, the compiler
reported an error that the function "BindToCallNodeArgs"
was missing and there was a problem with linking "dtype_dl2dnnl".
Another issue is the compile complain for ambiguous "GetRootCall".

After fixing the compilation issue, when executing relay.build,
an error occurred complaining "Check failed: const_var_ndarray_
.count(var) > 0 (0 vs. 0)"

Solution:
Update the cmake file and change the codegen.cc.
@tvm-bot
Copy link
Collaborator

tvm-bot commented Mar 10, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@masahi masahi merged commit 302cee9 into apache:main Mar 10, 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.

3 participants