You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/22 06:42:43 UTC
[GitHub] [tvm] huajsj opened a new issue, #11824: [Bug]DNNL Codegen Compile failed after PR https://github.com/apache/tvm/pull/11642
huajsj opened a new issue, #11824:
URL: https://github.com/apache/tvm/issues/11824
### Expected behavior
Append "set(USE_DNNL ON)" in config.cmake after install DNNL, the build should done successfully.
### Actual behavior
There is a compile error "in function `dnnl::primitive_attr::get_post_ops().. undefined reference to `dnnl_post_ops_clone".
### Environment
TVM after patch 11642
### Steps to reproduce
In last tvm or any version after 11642, enable USE_DNNL, compile would found the error "undefined reference to `dnnl_post_ops_clone".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] huajsj commented on issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
Posted by GitBox <gi...@apache.org>.
huajsj commented on issue #11824:
URL: https://github.com/apache/tvm/issues/11824#issuecomment-1162720938
@apeskov
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] apeskov commented on issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
Posted by GitBox <gi...@apache.org>.
apeskov commented on issue #11824:
URL: https://github.com/apache/tvm/issues/11824#issuecomment-1162960779
Hi @huajsj, Thanks for reporting issue!
That's very interesting error message. Looks like you have mismatch of DNNL headers and DNNL library used during compilation. The function you have a marked like "undefined" is used by `dnnl.hpp` header, TVM does's interact explicitly.
This function was introduced recently and is available only in master branch, there is no public releases with that "dnnl_post_ops_clone" function.
So I suppose you have mixed installation of DNNL on your dev system. Compiled library from some old version of DNNL, and headers from master of original repository. Could you please double check which version of library and headers do you use?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] huajsj commented on issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
Posted by GitBox <gi...@apache.org>.
huajsj commented on issue #11824:
URL: https://github.com/apache/tvm/issues/11824#issuecomment-1164697352
@apeskov , thanks for the kindly follow up, yes that is my environment issue and just trigger by the new patch, after remove the old libdnnl, now the build get success.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] apeskov commented on issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
Posted by GitBox <gi...@apache.org>.
apeskov commented on issue #11824:
URL: https://github.com/apache/tvm/issues/11824#issuecomment-1164585365
@huajsj Some additional information. At this moment TVM cmake integration of DNNL targets is not ideal. It search library via path provided by "USE_DNNL" variable. But headers used from system header search paths. So if you have dnnl headers inside of "/usr/local" folder it may be used instead of real DNNL package.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] huajsj closed issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
Posted by GitBox <gi...@apache.org>.
huajsj closed issue #11824: [Bug]DNNL Codegen Compile failed after PR 11642
URL: https://github.com/apache/tvm/issues/11824
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org