torch-mlir/lib/RefBackend
Stella Laurenzo b4c7ae1e0c Repurpose numpy-compiler compiler/runtime flow for PyTorch.
* A bit gross because I took the chance to upgrade all of the backend bits to the new MLIR Python bindings and we still co-mingle the old and new for now.
* Since the Python created PassManagers are configured for explicit nesting, I had to upgrade some of the pass pipelines to be explicit.
* The demo in mul_maximum_e2e.py now compiles, runs through PyTorch and through the JIT, prints and asserts the same results.
* I am not claiming that this is the prettiest API in this patch: consider that this is just directly using low-level APIs and there should be an intervening high level API.
2020-11-11 10:38:13 -08:00
..
JITHelpers Bump llvm-project to c8c07b76b2cf2ada8e7ec132f7f57b97d76743cf. 2020-10-29 15:25:55 -07:00
Runtime Start reworking towards a shared library build. 2020-10-09 16:02:58 -07:00
TensorToMemref [RefBackend] Use upstream func-bufferize pass. 2020-11-02 17:38:33 -08:00
CMakeLists.txt [RefBackend] Use upstream func-bufferize pass. 2020-11-02 17:38:33 -08:00
LowerToLLVM.cpp NFC: Clean up some minor nits 2020-10-30 18:48:25 -07:00
LowerToRefbackrtABI.cpp Bump llvm-project to c8c07b76b2cf2ada8e7ec132f7f57b97d76743cf. 2020-10-29 15:25:55 -07:00
PassDetail.h [RefBackend] Rename "E2E" to RefBackend. 2020-10-07 10:29:48 -07:00
RefBackend.cpp Repurpose numpy-compiler compiler/runtime flow for PyTorch. 2020-11-11 10:38:13 -08:00