You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Anirudh Krishna via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/05/03 04:24:30 UTC

[Apache TVM Discuss] [Questions] Use custom C++ code with TVM


Hi again @masahi!
Replying in this thread for ease.

I followed the code structure in https://tvm.apache.org/docs/dev/runtime.html#packedfunc.

Currently, my .cpp file has ![image|689x164](upload://5mY795C9q6jy0EmolJkBM5dfqro.png) 
In a .py file, I am trying to do 


![image|690x145](upload://yN1l6ENkURjTUk6NPj11HJGoBTw.png) 


I get the following error:
![image|690x105](upload://f9wx5x92EXpm4sTKJtX05teP3cC.png) 

I tried searching in the forum, but I was unable to find a solution that worked for me.
Any ideas?





---
[Visit Topic](https://discuss.tvm.apache.org/t/use-custom-c-code-with-tvm/9864/8) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/e65852f162703ed6fc64bbf34b906e79448b20e2ff218043c58543472c3d2322).