- 25 Mar, 2020 1 commit
-
-
Amy Zhuang authored
* [MLIR] Use mkldnn callback for ConvBias. * Add try catch. Fix opAttrsVec. Add rank check for Gemm and MatMul. * Fix merge error. * Fix a bug. * Fix lit test. * Modify unit test. * Fix merge error. * Address PR feedback. * Address PR feedback. * Insert callback_init function to module. * Fix lit tests. * Fix a bug. * Use a set of GlobalOps for attributes. * Address PR feedback. * Address PR feedback. * Fix merge error. * Fix style error. * Fix style error. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 18 Mar, 2020 1 commit
-
-
Scott Cyphers authored
* GetOutputElement removal preparation Not all outputs are used so don't force them to be connected in replace Add pattern that matches on any output Remove GOEs by default, allow to disable Fix failing core passes/tests with GOE dependency * Fix MLIR call * Fix value handle assignment * Cleanup * style * review comments * Fix onnx tests * Allow simplifcations to work on multi-values nodes * Disable goe removal for MLIR test * null init of Output Co-authored-by:
nmostafa <nagy.h.mostafa@intel.com>
-
- 10 Mar, 2020 1 commit
-
-
Scott Cyphers authored
* Fix overwriting of value * style * Style
-
- 03 Mar, 2020 1 commit
-
-
Robert Kimball authored
* Move op to v0 namespace * BatchMatMul * BatchNorm* * CompiledKernel * Constant * Fix more * More * Fix Quantaized* * fix last v0 ops * fix compile error * fix build error * Fix GPU build * Fix build error Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 28 Feb, 2020 1 commit
-
-
Amy Zhuang authored
* [MLIR] Use sane utilities to handle environment variables. * Fix a bug. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 25 Feb, 2020 1 commit
-
-
Amy Zhuang authored
* [MLIR] Add a flag to control ngraph dialect fusion pass. * Address PR feedback. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 21 Feb, 2020 2 commits
-
-
Diego Caballero authored
* [MLIR] Update MLIR repo * Nagy's fix * Changes related to mlir-opt * Update MLIR commit * [MLIR] Enable bare ptr calling convention This PR adds a flag to enable the bare pointer calling convention in LLVM lowering pass. * Update MLIR commit and callbacks. * Disable 'noalias' attribute. It will be re-introduced in a follow-up commit. * Remove '__mlir' prefix in callback test * Address feedback * Fix EDSC includes * Move MLIR repo forward * Update type converter code * Address feedback * Enable 'noalias' code * Address feedback Co-authored-by:
Amy Zhuang <amyzhuang97@gmail.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
Diego Caballero authored
* [MLIR] Update MLIR repo * Nagy's fix * Changes related to mlir-opt * Update MLIR commit * Update MLIR commit and callbacks. * Disable 'noalias' attribute. It will be re-introduced in a follow-up commit. * Remove '__mlir' prefix in callback test * Address feedback * Fix EDSC includes * Move MLIR repo forward * Update type converter code * Address feedback Co-authored-by:
Amy Zhuang <amyzhuang97@gmail.com>
-
- 18 Feb, 2020 1 commit
-
-
Diego Caballero authored
Co-authored-by:
Robert Kimball <robert.kimball@intel.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 13 Feb, 2020 1 commit
-
-
Pruthvi authored
* - add fused_op.td to CmakeLists - define pattern to fuse Wx + b and to replace with MatMulBias * - remove table-gen LLVM_TARGET_DEFINATION for fused_ops_pattern.td, fused_ops.td - fix build issues * - change pattern to to match MatMul instead of Dot - support in CMake to register MatMulBias fused Op pattern * - made changes to fusion pattern to match Add( Dot (op1, op2), bias) for MatmulBias - use applyPatternsGreedily instead of applyFullConversion in the graph pass - add unit test inter v/s CPU for MatMulBias * - Affine lowering, verifier logic to NgMatMulBiasOp * add missing header file * - WIP, use NGGemm instead of NGMatMulBias * -undo unintended changes * Addressed PR comments * - refactor the ctor of the NgDialectFusion pass - register NgDialectFusion pass with the PassRegistration * Address PR comments * -add lit test for matmul+bias fusion * -style fix lit test Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 11 Feb, 2020 1 commit
-
-
Robert Kimball authored
* Cleanup headers * Fix more headers * Fix compile error * Fix plaid build error Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 07 Feb, 2020 1 commit
-
-
Diego Caballero authored
* [MLIR] MLIR repo update * Revert test * More MLIR repo forward * Move MLIR repo forward * Add Loop-to-Std lowering pass to nGraph pipeline Co-authored-by:
Robert Kimball <robert.kimball@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 29 Jan, 2020 2 commits
-
-
Amy Zhuang authored
Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Scott Cyphers authored
* Fix compilation warnings * Camels
-
- 21 Jan, 2020 1 commit
-
-
Diego Caballero authored
* [MLIR] Update build system to use LLVM mono-repo for MLIR * [MLIR] LLVM mono-repo conflicts * Disable lit tests * Fix formatting * Fix memopt tests * PR fix * Fix view test Co-authored-by:
Nagy Mostafa <nagy.mostafa@gmail.com>
-
- 17 Jan, 2020 1 commit
-
-
Nagy Mostafa authored
* WIP * WIP * Refactored existing convolution * Add Channel and num of filters bounds parameters to helper * Works on unit-tests. v1 op gets converted and breaks * Fixed group conv with groups in filters shape. Tests pass * style * add LIT tests * Switch outer loop to affine loop * re-org code * PR fixes * Revert ops.td * PR fixes
-
- 16 Jan, 2020 1 commit
-
-
Amy Zhuang authored
* [MLIR] Use call back for MatMul. * Use callback for Gemm. * Use mkldnn callback for Softmax. * Address PR feedback. * Fix merge errors. * Change to tail allocation struct. * Use mkldnn callback for AvgPool. * Add callbacks for AvgPoolBackprop, MaxPool, and MaxPoolBackprop. * Fix merge errors. * Use UnrankedMemRefType for callbacks. * Address PR feedback. * Cleanup. * Address PR feedback. * Fix a bug. * Use global variable to hold attributes. * Convert layout if needed for pooling. * Address PR feedback. * Add header. * Address PR feedback. * Update Copyright to 2017-2020. * Address PR feedback. Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 14 Jan, 2020 2 commits
-
-
Robert Kimball authored
This reverts commit 1e58565a.
-
Nagy Mostafa authored
* AliasMap WIP * Added liveness info * WIP * WIP: Tests * WIP: LIT tests * Added knobs for mem optimization pass. More LIT tests * Revert affine_lowerer change * More elaborate comment * Minor fixes * style-apply * Rename liveness * Switch to Analysis framework * Fix optimization conditions * Remove LIT test * style * Switch to equivalence relationship impl of non-alias relationship * refined comment * Switch non-alias to equivalence relationship * Fix bad merge * Adding tests. WIP * Added buffer size tracking and unit-tests * Added LIT and unit-tests * Turn optimization ON * style * fix unit-tests * Fix useCount * Fix copyright and typo * Refine few comments, remove new lines * style fix Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com>
-
- 10 Jan, 2020 2 commits
-
-
Nagy Mostafa authored
Co-authored-by:
Diego Caballero <diego.caballero@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
Nagy Mostafa authored
Co-authored-by:
aslepko <44713115+aslepko@users.noreply.github.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 09 Jan, 2020 1 commit
-
-
Nagy Mostafa authored
Co-authored-by:
Sang Ik Lee <sang.ik.lee@intel.com> Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com> Co-authored-by:
Robert Kimball <robert.kimball@intel.com>
-
- 08 Jan, 2020 1 commit
-
-
Nagy Mostafa authored
* separate mlir core to a lib * rename in one more file * change core lib linking to PUBLIC
-
- 06 Jan, 2020 1 commit
-
-
Robert Kimball authored
* Remove conditional compile * style Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 03 Jan, 2020 1 commit
-
-
Pruthvi authored
* Affine lowering support for 1) GreaterEq 2) LessEq 3) Equal 4) NotEqual * - cast result op from i1 to i8 for comparision operators * Addressed PR comments * Style fix * - style check - use select instead of zero_extendi durinng CompOp lowering * - fix style - use createOneConstant and createZeroConstant helpers in select intrinsic * Use NG_U8_TYPE_ID for BooleanType in ngraph dialect * Diable CE and Softmax unit test in MLIR * - LIT parser test for comparision ops * - Affine dailect LIT tests for Comparision Ops * Address PR feedback * fix typo * - use `cast` to deduce element Type - add more strict type checking to LIT Test * fix CHECK label's for comparision ops * Use UInt8 in verification logic for CMP op's * - use UInt8 for the resultOp verification Logic in CMP op - fix unit test failures
-
- 01 Jan, 2020 1 commit
-
-
Robert Kimball authored
* Update license to new year * Pick up some strays
-
- 23 Dec, 2019 1 commit
-
-
Diego Caballero authored
* [MLIR] Update MLIR/LLVM repo I need it to get MemRef lowering override mechanism (291a309d). * Fix style Co-authored-by:
Scott Cyphers <diyessi@users.noreply.github.com>
-
- 17 Dec, 2019 1 commit
-
-
Diego Caballero authored
This PR fixes some of the inconveniences that we had with lit in nGraph and aligns configuration files with MLIR/LLVM. In particular: - `make install` is not needed to run lit test with the latest compiled version of testing tools (ngraph-opt). - LD_LIBRARY_PATH doesn't need to be modified.
-
- 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 2 commits
-
-
Nagy Mostafa authored
* Map each ng tensor to a linear buffer and a view * fix comment * Create views only when a value is assigned a buffer id * style * Fix lit test
-
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
-
- 21 Nov, 2019 1 commit
-
-
Gleb Kazantaev authored
* Added U1 precision for binary weights * Handle switch cases with u1 type * Fixed code style * Added convert_to_string support for u1 type * Use real C type for u1 type. Co-Authored-By:
Robert Kimball <robert.kimball@intel.com>
-
- 18 Nov, 2019 2 commits
-
-
Nagy Mostafa authored
* WIP * WIP * WIP * WIP * style * WIP * WIP * Add err msg * Fix headers and cleanup
-
Nishant Patel authored
* Fix MLIR build on mac OS * Style * Style
-
- 11 Nov, 2019 1 commit
-
-
Pruthvi authored
* WIP graph pass to lower ngraph to ngraph dialect * resolved compiler errors * - refactor ngraph-dialect to graph pass * - fix compilation issue - unit test passes * - style fix * Addressed PR comments * - move NgDialectConversionPass to anonymous namespace * - use getModule() to access module inside the graph pass - address PR comments * - fix failing unit test case for negative padding - make builder as an object isntead of pointer to an object * Address PR Comments
-
- 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
-
- 30 Oct, 2019 1 commit
-
-
Pruthvi 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 * - refactor LowerNGDialect - addgraph pass to lower standardDialect to llvm module * Addressed PR Comments * i) Style fix ii) restore deleted file
-
- 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
-
- 23 Oct, 2019 1 commit
-
-
Amy Zhuang authored
* [MLIR] Modify mlir subgraph extraction pass. * Address PR feedback. * Modify sub-graph construction algorithm. * Address PR feedback. * Address PR feedback. * Change macro to function.
-
- 10 Oct, 2019 1 commit
-
-
Nagy Mostafa authored
* Change order of gemm operation * Add Dot lit test * style-apply * Fix captures to avoid escapes on []
-