d235f248e4
* Detect llvm-project commit change in utils/clone-mlir.sh and rebuild llvm-project for zLinux Jenkins build bot * Add --EmitJNI target (tested working with mnist and resnet50) - MainUtils * first shot at refactoring compileModuleToSharedLibrary * add setExecPath call to allow resolving runtime directory from onnx-mlir executable path when ONNX_MLIR_RUNTIME_DIR is not set. This allows tests to run without having to install onnx-mlir or to explicitly set ONNX_MLIR_RUNTIME_DIR - RtMemRef * add getDataSize for C (equivalent of size() for C++). * fix setStrides bug (setting sizes, not strides) - TestConv * _main_graph-*.so were filling up /tmp. Change to use fixed shared library in build directory * Fix clang-format-lint complaints * - getRuntimeDir checks lib64 - install targets for javaruntime and jniruntime - remove ONNX_MLIR_LD_PRELOAD_onnx-mlir and ONNX_MLIR_LD_PRELOAD_onnx-mlir-opt * See what happens when `kExecPath` decl is dropped. Co-authored-by: Tian Jin <tjingrant@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestConv.cpp |