torch-mlir/test
Stella Laurenzo af4edb63ae Start reworking towards a shared library build.
* Need to have a dag of shared library deps in order to interop across python extensions (as presented in ODM).
* Introduced add_npcomp_library and friends to mirror the MLIR setup.
* Adds a libNPCOMP.so shared library.
* Redirects tools and extensions to link against libNPCOMP.so (instead of static libs).
* Moves all libraries to lib/, all binaries to bin/ and all python extensions to python/. The invariant is that the rpaths are setup to have a one level directory structure.
* Reworks the _torch_mlir extension to build like the others (still need to come up with a consolidated rule to do this instead of open coded).
* Includes an upstream version bump to pick up needed changes.

Sizes with dynamic linking (stripped, release, asserts enabled):
  libNPCOMP.so: 43M (includes much of the underlying LLVM codegen deps)
  libMLIR.so: 31M
  _npcomp.so: 1.6M (python extension)
  _torch_mlir.so: 670K (python extension)
  npcomp-capi-ir-test: 6.3K
  npcomp-opt: 351K
  npcomp-run-mlir: 461K
  mnist-playground: 530K

Still more can be done to normalize and optimize but this gets us structurally to the starting point.
2020-10-09 16:02:58 -07:00
..
Backend/Iree Collapse different top level test directories into test/. 2020-08-03 17:41:16 -07:00
CAPI Start reworking towards a shared library build. 2020-10-09 16:02:58 -07:00
Conversion [RefE2E] Add support for unary ops exp and tanh 2020-09-24 18:41:30 -07:00
Dialect [RefBackend] Rename RefBackend dialect to Refback 2020-10-08 09:07:00 -07:00
Python Collapse different top level test directories into test/. 2020-08-03 17:41:16 -07:00
RefBackend [RefBackend] Rename Npcomprt dialect to Refbackrt. 2020-10-08 09:07:00 -07:00
npcomp-run-mlir [RefE2E] Initialize the linalg matmul accumulator buffer. 2020-10-02 16:24:52 -07:00
CMakeLists.txt Add capture function arguments. 2020-10-01 18:59:58 -07:00
lit.cfg.py Start reworking towards a shared library build. 2020-10-09 16:02:58 -07:00
lit.site.cfg.py.in Collapse different top level test directories into test/. 2020-08-03 17:41:16 -07:00