torch-mlir/python/npcomp
Stella Laurenzo 3f706473fd NFC: Delete npcomp python API and switch to upstream.
* Most updates are mechanical except:
  * python/npcomp/__init__.py and python/NpcompModule.cpp: New init/registration bits to replace some automatic things being done in the old bindings. Also an annoying linkage hack that I'll need to triage next.
  * NpcompModule.cpp: New python helpers for custom types and other hard to reach items (for the new bindings).
  * PybindUtils.h: Extended type casting so that the local extension can directly exchange Mlir* C types.
  * python/npcomp/dialects/*: Build support and ODS bindings for local dialects.
  * mlir_utils.py: Defines an ImportContext to replace the old/bad "Helper" class that tracked locations, and insertion points. This has a number of methods on it that would be good candidates to think about better ways to do them upstream.
* Also hoisted a few stand-alone samples to dedicated unit tests as they covered important things.
* More cleanup can be done, but keeping this patch as mechanical as possible to stay in NFC land (this is big enough).
2021-01-08 10:46:24 -08:00
..
compiler NFC: Delete npcomp python API and switch to upstream. 2021-01-08 10:46:24 -08:00
dialects NFC: Delete npcomp python API and switch to upstream. 2021-01-08 10:46:24 -08:00
frontends Add pytorch interface to ATen Dialect (#30) 2020-08-21 11:22:47 -07:00
torch Add initial python bindings for c10 dispatcher internals. (#55) 2020-09-24 16:26:29 -07:00
tracing NFC: Delete npcomp python API and switch to upstream. 2021-01-08 10:46:24 -08:00
utils Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
__init__.py NFC: Delete npcomp python API and switch to upstream. 2021-01-08 10:46:24 -08:00
decorators.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
exporter.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
smoketest.py Move python native library to python_native/_npcomp...so. 2020-05-06 22:44:12 -07:00
types.py Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00