You should be able to do that by adding your cpp under src/runtime/contrib. See
many examples there.
---
[Visit
Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/13) to
respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these
hi @sahooora,
could you double-check you're driving the model with the same inputs and
parameters each time? if so, could you provide some more info such as which
revision of TVM you're using and some scripts we can use to reproduce your
error?
thanks,
Andrew
---
[Visit
Topic](https:/
Oh yes, I believe I am trying to do that. I am not sure if it is possible to
re-compile the libtvm.so with my custom cpp file added, is it?
---
[Visit
Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/12) to
respond.
You are receiving this because you enabled mailin
Oh you are trying to add your packed function outside of `libtvm.so` or
`libtvm_runtime.so`? I've never seen this and am not sure if that is going to
work, because `libtvm.so` needs to "see" your function cc @tqchen
---
[Visit
Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with
Thank you so much for your response!
I saw the PR is merged to the master branch now so I've cloned the latest
version but I still have the same issue!
---
[Visit
Topic](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869/3)
to respond.
You are receiving this because y
This is a known bug. There is current a PR fixing it here:
https://github.com/apache/tvm/pull/7903
---
[Visit
Topic](https://discuss.tvm.apache.org/t/runnig-a-model-with-tvm-debugger/9869/2)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from th
Hi, I tried the pyxir/examples/tvm/, which shows at the tvm doc, and I almost
succeeded. But when I ran the program on the ultra96 board, I got the error.

I checked the dpu version on the host and the board, I found they were both
v1.4.1.
Hmm, I did try that. Doesn't seem to work :frowning:
This is my Makefile, maybe I missed something here:

Will try the cublas.cc trick, but I would prefer if I can keep my .cpp file
separate
---
[Visit
Topic](https://discuss.tvm
hmm it looks correct. Maybe you can try make clean and rebuild?
Also to be sure, you can put your function to the same file as `cublas.cc` etc
---
[Visit
Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/9) to
respond.
You are receiving this because you enabled mail