1. 29 Jan, 2020 2 commits
  2. 21 Jan, 2020 1 commit
  3. 17 Jan, 2020 1 commit
    • Nagy Mostafa's avatar
      [MLIR] Enable lowering of GroupConv in MLIR CPU backend (#4102) · 8e46ff86
      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
      8e46ff86
  4. 16 Jan, 2020 1 commit
    • Amy Zhuang's avatar
      [MLIR] Use call back for MatMul. (#3838) · c737a573
      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: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      c737a573
  5. 14 Jan, 2020 1 commit
    • Nagy Mostafa's avatar
      [MLIR] In-place memory optimization for elt-wise and concat ops. (#3832) · 6de4893b
      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: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
      Co-authored-by: 's avatarSang Ik Lee <sang.ik.lee@intel.com>
      6de4893b
  6. 03 Jan, 2020 1 commit
    • Pruthvi's avatar
      [MLIR] Affine lowering support for Comparison Ops (#3872) · 9a01762a
      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
      9a01762a
  7. 01 Jan, 2020 1 commit
  8. 23 Dec, 2019 1 commit
  9. 27 Nov, 2019 1 commit
  10. 18 Nov, 2019 1 commit
  11. 29 Oct, 2019 1 commit
    • Nagy Mostafa's avatar
      [MLIR] MLIR Compiler refactoring (#3786) · f143bb13
      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
      f143bb13