apeskov opened a new pull request #7875: URL: https://github.com/apache/tvm/pull/7875
This PR is a part of iOS enabling efforts. Particularly it allows to use regular TVM RPC mechanics in the way like for Android platform. Essential part of auto tuning on real iOS device is an ability to run kernel from module received over network. This patch allows to load shared libraries received by RPC server from host side and stored in temporal directory on device. No requirements of signing this binary. As in a short this patch introduce custom version of dlopen, dlclose, dlsym functions with next features: * Based on original dyld sources provided by Apple * The check of binary signing is switched off * Works only under debugger (lldb). The JIT itself is not allowed for iOS, but it has some mitigation for debuggers. * Provides very limited linker implementation but enough for successful RPC processing The sources copied from original dyld repository are stored in folder `3rdparty/macho-dyld/src/dyld`. The TVM specific changes are marked with FOR_TVM macros. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org