onnx-mlir/src/Conversion
Alexandre Eichenberger 3a5aa7ee31
Gather ONNX to Kernel Lowering (#294)
* Define krnl.permute op.

* Support krnl.permute operation.

* Properly remove loop references.

* Re-push, Github was down.

* Need to debug interpretOp error.

* Fix lowering bug by erasing ops after full krnl IR interpretation is done, and clean up & comment code.

* Introduce permute, unroll operations.

* More debug.

* Remove std::set.

* krnl.terminate fails to be converted.

* Pass all tests, need to add legal ops as well as part of the conversion target.

* Change test format to new permute spec.

* Bug fix for nested iterate op lowering.

* Simplify error reporting.

* Fix compilation error.

* Increase comments coverage.

* Remove unnecessary imports.

* Re-trigger Jenkins

* Add permute/unroll tests.

* Retrigger Jenkins

* initial implementation of gather

* added tests

* format

* remove affine load for second load, as it uses an indirection

* changes suggested by reviewers

* remove backend tests until I can verify them locally

Co-authored-by: Tian Jin <tjingrant@gmail.com>
2020-09-11 15:36:23 -04:00
..
KrnlToAffine Add krnl.dim operation and lowering pass (#261) 2020-08-14 12:59:33 -04:00
KrnlToLLVM Using onnx-mlir through incremental stages (#257) 2020-09-10 10:29:55 +08:00
ONNXToKrnl Gather ONNX to Kernel Lowering (#294) 2020-09-11 15:36:23 -04:00
CMakeLists.txt [NFC] Rename passes for stylistic consistency. (#232) 2020-07-31 21:37:35 +08:00