- 06 Dec, 2019 1 commit
-
-
Diego Caballero authored
* [MLIR] Update MLIR/LLVM repos * Move MLIR/LLVM repos forward This includes fix to affine fusion algorithm. * Fix issues after merge * Fix lit test
-
- 27 Nov, 2019 1 commit
-
-
Nagy Mostafa authored
* WIP * WIP * WIP * All ops * Fix layernorm backprop op name * WIP: Adding tests * WIP: Adding LIT parsing/printing tests * WIP * Added LSTM cells. Fixed some ops * All builder tests * PR fixes * Fix spacing. Add missing setter to SpaceToDepth * Update spaceToDepth lit test * PR fixes * Build fix * Another fix * Fixed optional args
-
- 04 Nov, 2019 1 commit
-
-
Nagy Mostafa authored
* Init commit to implement interface * Add two op interfaces for v0 and v1. Add a unit-test * Add missing files * Move test to separate file * Add Fused Op interface * Missing files * style * fused ops * Remove V1 ops for now * Added enum attributes. WIP * Completed non-experiemntal non-fused-ops * Add ops_attributes * Minor fixes * Minor fixes * Added enum setting/reading test * style-apply * Added attributes tests * Fix dialect init * style * fix typo * Fix merge errors * Include file with MLIR on
-
- 29 Oct, 2019 1 commit
-
-
Nagy Mostafa authored
* Re-organize files. Create MLIR backend classes * WIP * Refactored. Code compiles * Moved context to Runtime class to outlive compilation and execution * style-apply * Base Runtime class. Few other modifications * Minor fixes * Fixed Runtime::run() to take type-erased pointer * renamed core compiler * rename backend compiler * rename runtime compiler * PR feedback * Fix build fails
-
- 10 Sep, 2019 1 commit
-
-
Nagy Mostafa authored
* WIP * Fixes * Increase bitwidth for arg idx attrib * Minor fixes * style-apply
-
- 30 Aug, 2019 2 commits
-
-
Nagy Mostafa authored
* Op decl. No verification * WIP * WIP: Add lowerer support * Code-gen works. * Added padding support. Needs MLIR fix to work * Remove Padding support for now * Fix arrayref init. Disable tests where reshape optimization don't apply * clean up and style apply * Address PR feedback
-
Diego Caballero authored
We'll add contrib/mlir/tools directory in subsequent PRs for ngrpah-opt and other tools.
-
- 25 Jul, 2019 1 commit
-
-
Diego Caballero authored
* [MLIR] Fix naming convention in MLIR files Add naming convention note per file to state which files should use nGraph naming convention and which MLIR naming convention and align naming convention in those files with such a note. * Remove m-prefix
-
- 20 Jul, 2019 1 commit
-
-
nmostafa authored
-
- 18 Jul, 2019 2 commits
-
-
nmostafa authored
-
Adam Procter authored
* WIP * All but two unit tests passing * Explanatory comment * Cleanup * A bit of cleanup stemming from review comments * Rewrite to use LoopNestBuilder * Remove unnecessary check from CompiledKernel * Removed some dead-ish code I missed * Switch to camelCase in lowerer.cpp * Fix assignment of resIndexHandles that was triggering an assert * Add in some safety checks * dyn_cast -> cast
-
- 11 Jul, 2019 1 commit
-
-
Nagy Mostafa authored
* Support MLIR lowering of Relu * Use EDSC comparison * style-apply * Use .inc file for Conversion classes list * Disable i32 Relu for plaidml
-
- 13 Jun, 2019 1 commit
-
-
nmostafa authored
-
- 10 Jun, 2019 1 commit
-
-
nmostafa authored
-
- 03 Jun, 2019 1 commit
-
-
nmostafa authored
-
- 02 Jun, 2019 9 commits
-
-
Diego Caballero authored
This patch introduces tablegen definitions for element-wise reduction operations (only definitions, not building/lowering code). This includes argmin, argmax, min, max, sum, prod, all and any. From the design point of view, a single base class seems to be enough to cover all the common ground of these operations. A different base class will be necessary for avg pool reduction operations.
-
Nagy Mostafa authored
* Improve verification for unary, binary, cmp and select ops. Refactor .td file to enable that.
-
Diego Caballero authored
It extends dot definition to be able to deal with operands that are not square tensors. It also fixes a bug in the lowerer related to that.
-
Diego Caballero authored
* [MLIR] Replace MatmulBiasOp with DotOp We disable CPUFusion if MLIR is enabled to avoid CPU specific ops to be introduced for now.
-
Nagy Mostafa authored
* Upgrade MLIR. Several code fixes based on API changes * Fixes due to DialectConv API changes * style-apply * PR fixes
-
Nagy Mostafa authored
* Move dialect and types to mlir namespace * PR fixes and some cleanup * Merge fix
-
Nagy Mostafa authored
-
Nagy Mostafa authored
* Enable module verification. Fix FakeInput result type to memref * style-apply
-
Nagy Mostafa authored
* Initial td file. Cmake changes * Move all ops to .td file. * Added few more opcodes to show-case. Fixed PR feedback * Remove NG_ prefix of opcode records. Some fixes * Added some doc * Adding back NG prefix * Bug fix in MLIR gen
-