I am facing the same issue now. Is there a straightforward method to fix that without a ‘export-load’ hack?
By the way, for opencl program, ‘c’ as ‘target_host’, export the module and reload does not work. It still met Module has no function ‘tvm_main’.
我现在也遇到这个问题了。现在可以正面解决这个问题了吗?
顺便,我试了试opencl程序,c作为host后端,导出共享库再导入依然会遇到找不到main的问题。