[Apache TVM Discuss] [Development] [BYOC] how to link extern .so files

2022-03-01 Thread Cody H. Yu via Apache TVM Discuss
The way you use is for static link for the generated code why the error is for dynamic link. As @masahi pointed out, you should link your .so to TVM, which means you may need to add this library to the TVM building process. --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-how-to-li

[Apache TVM Discuss] [Development] [BYOC] how to link extern .so files

2022-03-01 Thread Zihao Ye via Apache TVM Discuss
try add the following line to `CMakeLists.txt`: ``` target_link_libraries(tvm PRIVATE ${PATH_TO_YOUR_SHARED_LIBRARY}) target_link_libraries(tvm_runtime PRIVATE ${PATH_TO_YOUR_SHARED_LIBRARY}) ``` and rebuild TVM. --- [Visit Topic](https://discuss.tvm.apache.org/t/byoc-how-to-link-extern-s

Re: [apache/tvm-rfcs] [RFC][BYOC] Marvell ML/AI Accelerator Integration (PR #48)

2022-03-01 Thread Andrew Reusch
@ccjoechou Summarizing our discussion a bit: - Marvell is interested in being able to arbitrarily partition a Relay graph into hardware-accelerated and non-hardware-acclerated parts - The boundaries between these parts are to be determined by Marvell backend; therefore, some additional contr