@comaniac Great idea to only test for compilation success for large sub-graphs. I agree on this approach.
For the clang++ part, it currently gets invoked in tvm.contrib.ndk.create_shared
, which is passed as the fcompile
to lib.export_library()
. I guess it’s good just as it is right now? The concern, if any, is that the arguments needs to be overrided with linkage to libneuralnetworks.so
and tvm source/dependencies, which may be a bit unfamiliar for beginners. Should we create some kind of custom compilation function that passes these options for end users?