- 28 Sep, 2019 1 commit
-
-
Diego Caballero authored
* [MLIR] Add support for parsing nGraph tensor type Initial commit that enables nGraph parsing. It's needed for testing. * [MLIR] Enable nGraph dialect in ngraph-opt This PR registers nGraph dialect in ngraph-opt and prepares nGraph lowering pass for LIT testing, fixing all the related issues. Among other things, lowering pass has to be turned into a function pass, dead argument in constructor was removed and `convert-ngraph-to-affine` flag was added. * Fix issue with function name and multiple functions * Extend module_function.mlir lit test * Improve module_function.mlir test Remove ngraph to affine dialect conversion since we just need to verify that we can parse and print modules and functions. Add verification for parsing the printed code. * [MLIR] Add support for parsing nGraph element types (#3665) * [MLIR] Add support for parsing nGraph element types It introduces initial support for parsing nGraph signed/unsigned integer and floating point data types. * Improve LIT tests Test parsing and printing of types separately from lowering to affine since these tests will evolve differently, particularly for tensor types. * Missed file I left this file behind in the previous commit
-
- 25 Sep, 2019 1 commit
-
-
Amy Zhuang authored
* [MLIR] Encapsulate internal nodes of CompiledKernel Op to prevent later passes from accessing them. * Fix style and namespace. * Address PR feedback. * Move encapsulate_nodes from pass to CompiledKernel Op. * Address PR feedback. * Follow MLIR naming convention.
-
- 18 Sep, 2019 1 commit
-
-
Nagy Mostafa authored
* Enable Padding * Small fix to match MLIR API change * WIP * Subtract pad below from virtual img index * Fixed integer set inequalities * style-apply * remove unneeded padAbove values * Remove dump call * PR feedback * style apply
-
- 17 Sep, 2019 2 commits
-
-
Nagy Mostafa authored
* Re-use memref * add mem opt file * Add missing files * Add flag * Fix style * Small fix * PR fixes. WIP * PR fixes * Fixed conv validation logic. Invoked after ng mem opt pass. Style-apply * style-apply
-
Diego Caballero authored
Replace set with vector container in MLIR sub-graphs for nodes, inputs and outputs. Using a set caused different order of operations in MLIR code across different executions and this led to differences in optimizations.
-
- 05 Sep, 2019 1 commit
-
-
Nagy Mostafa authored
* Don't hold to shared pointers after sub-graph extraction pass is done * style
-
- 04 Sep, 2019 1 commit
-
-
Amy Zhuang authored
-
- 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.
-