Hello, I followed this page to install Android TVM RPC. The apk can be build well when I disable OpenCL. However, I get the following error if enabling OpenCL
[arm64-v8a] Compile++ : tvm4j_runtime_packed <= org_apache_tvm_native_c_api.cc [arm64-v8a] SharedLibrary : libtvm4j_runtime_packed.so /home/ycdfwzy/repo/tvm/pull-from-android-device/libOpenCL.so: error adding symbols: File in wrong format clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [/home/ycdfwzy/Android/Sdk/ndk/21.4.7075529/build/core/build-binary.mk:725: /home/ycdfwzy/repo/tvm/apps/android_rpc/app/src/main/obj/local/arm64-v8a/libtvm4j_runtime_packed.so] Error 1 make: Leaving directory ‘/home/ycdfwzy/repo/tvm/apps/android_rpc/app/src/main/jni’
I use TVM 0.7.0 and the Google Pixel 3. I’m sure libOpenCL.so is pulled from Pixel 3.