Open jasaw opened 2 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
Description
I can cross compile successfully without TVM_OP, but when I turn on TVM_OP, the post build step calls
contrib/tvmop/compile.py
where the python script importstvm
which loads thelibtvm.so
file. Problem here is the cross compiledlibtvm.so
file is for Aarch64 target which won't load on x64_86 host that does the cross compilation. Thiscontrib/tvmop/compile.py
file basically pulls all the supported operators and generates amy_kernel.cu
cuda source file and usesnvcc
to compile andg++
to link intolibtvmop.so
file.contrib/tvmop/compile.py
also generatestvmop.conf
.Question is, how do I cross compile this step?