1. 09 Aug, 2019 1 commit
  2. 18 Jul, 2019 2 commits
    • nmostafa's avatar
      Refactor ng dialect compile · 3a9de1bb
      nmostafa authored
      3a9de1bb
    • Adam Procter's avatar
      [MLIR] Concat (#3225) · c5b976c8
      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
      c5b976c8
  3. 17 Jul, 2019 1 commit
    • Pruthvi's avatar
      - MLIR Binary ElementWise Op (#3223) · 073db8fb
      Pruthvi authored
      * - templatize computing binary elementwise
      - added lowering support for Add, Sub, Multiply, Divide
      
      * - Added Support for Greater and less Op
      
      * -Add support for Minimum and Maximum
      
      * use edsc::intrinsics::select instead of terenary operator
      
      * Addressed PR comments
      
      * - return after the conditional check
      073db8fb
  4. 11 Jul, 2019 1 commit
  5. 28 Jun, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Bump MLIR repo to commit 82d5084 Wed Jun 26. · 2ebe33f1
      Diego Caballero authored
      Improvements and changes in dialect conversion APIs. Type conversion
      and op rewriting are now a bit more independent mechanisms. Dialect
      conversion now requires a target object with the legal transformations
      to be applied. Legality checks to detect illegal operations after
      dialect conversion have been strengthened significantly.
      
      MLIR LLVM commit:
      commit 82d5084cf28bca7a0eebec283cdeae118dfa1d11 (HEAD)
      Author: Jacques Pienaar <jpienaar@google.com>
      Date:   Wed Jun 26 11:12:40 2019 -0700
      
          Split out TranslateClParser and add new parse method that reuses
          SourceMgr.
      
      MLIR commit:
      commit 82d5084cf28bca7a0eebec283cdeae118dfa1d11 (HEAD)
      Author: Jacques Pienaar <jpienaar@google.com>
      Date:   Wed Jun 26 11:12:40 2019 -0700
      
          Split out TranslateClParser and add new parse method that reuses
          SourceMgr.
      2ebe33f1
  6. 13 Jun, 2019 2 commits
  7. 10 Jun, 2019 1 commit
  8. 03 Jun, 2019 1 commit
  9. 02 Jun, 2019 9 commits
    • Diego Caballero's avatar
      [MLIR] Replace MatmulBiasOp with DotOp (#20) · 5867666f
      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.
      5867666f
    • Nagy Mostafa's avatar
      [MLIR] MLIR version upgrade (#28) · 9acdfe04
      Nagy Mostafa authored
      * Upgrade MLIR. Several code fixes based on API changes
      
      * Fixes due to DialectConv API changes
      
      * style-apply
      
      * PR fixes
      9acdfe04
    • Nagy Mostafa's avatar
      [MLIR] Move mlir related classes to MLIR namespace (#23) · 86bc31cc
      Nagy Mostafa authored
      * Move dialect and types to mlir namespace
      
      * PR fixes and some cleanup
      
      * Merge fix
      86bc31cc
    • Nagy Mostafa's avatar
      [MLIR] Use .td and tablegen to declare ng dialect ops (#21) · 6bb90e3c
      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
      6bb90e3c
    • Nagy Mostafa's avatar
      [MLIR] Move MLIR code into its own namespace. (#15) · e3c28fd2
      Nagy Mostafa authored
      * Use NGRAPH export macros instead of CPU
      
      * Move code to ngmlir namespace
      e3c28fd2
    • Nagy Mostafa's avatar
      [MLIR] Move MLIR to src/contrib/mlir (#16) · b19fa875
      Nagy Mostafa authored
      * Move MLIR to src/contrib/mlir
      b19fa875
    • Nagy Mostafa's avatar
      [MLIR] Move mlir code under runtime/mlir · d9dd03ce
      Nagy Mostafa authored
      * Create MLIR as cmake external project. Clone and build via ngraph cmake
      
      * Moved code and enabled compilation. Need to clone and build MLIR/LLVM during cmake step, so find_package can work
      
      * clone and build llvm/mlir during configuration. Compiles now. Needs more testing
      
      * Force DEX only if MLIR is ON
      
      * Remove extra cmake file. Style-apply
      
      * Remove redundant files in cpu/mlir
      
      * Update CODEOWNERS. Check for ninja and fail if not found
      
      * Fixing post merge issues
      d9dd03ce
    • Diego Caballero's avatar
      [MLIR] Add MatmulBias op with basic support for simple matmuls (#8) · ba735a80
      Diego Caballero authored
      The following test should work now:
      NGRAPH_MLIR_DUMP_ALL=1 NGRAPH_MLIR=1 test/unit-test '--gtest_filter=CPU.dot2d'
      ba735a80
    • Nagy Mostafa's avatar
      [MLIR] Initial PoC: NG dialect, dialect code-gen, dialect lowering to affine, no JIT yet · a5c99754
      Nagy Mostafa authored
      * Link MLIR static libs to cpu backend
      
      * Use LLVMConfig.cmake
      
      * Initial commit. Link fails with undefined reference to typeinfo for mlir::Dialect
      
      * Added AddOp
      
      * initial compiler class
      
      * Initialize module/function, and map tensors to arguments
      
      * Code compiles. Moved MLIR building to correct DEX handler
      
      * NGDialect code-gen working
      
      * Use vector instead of sets for i/o tensors. Use functor in executor
      
      * Misc fixes
      
      * style-apply
      
      * WIP: Adding support for dialect lowering.
      
      * WIP: Lowered to affine. Crash on constant ops have side effects in Constant Folding
      
      * Fixed missing whole package linkage.
      
      * Removed fake instruction and update func type
      
      *  Enable lowering to LLVM dialect and IR
      
      * Made loop nest builder handle any rank
      
      * Fixes per PR feedback. Major ones:
      - Removed ngdialect namespace
      - renamed dialect classes to start with NG prefixwq:w
      
      * Add unreachable assert
      
      * Add reading of LLVM options from an env var MLIR_LLVM_OPTIONS (#5)
      a5c99754
  10. 03 Jan, 2019 1 commit
  11. 29 Aug, 2018 1 commit
  12. 26 May, 2018 1 commit
  13. 08 Feb, 2018 1 commit
  14. 12 Oct, 2017 1 commit
  15. 06 Oct, 2017 2 commits
  16. 04 Oct, 2017 1 commit
  17. 20 Sep, 2017 1 commit
  18. 19 Sep, 2017 1 commit
  19. 16 Sep, 2017 1 commit
    • Bob Kimball's avatar
      add liveness pass · d3f3bb1b
      Bob Kimball authored
      add naming of tensors and tensor views
      add visualization pass
      add graph dump pass
      d3f3bb1b
  20. 13 Sep, 2017 1 commit
  21. 10 Sep, 2017 1 commit
    • Robert Kimball's avatar
      add pass skeletons · ae48ed32
      Robert Kimball authored
      add test framework
      
      stuff wired up
      
      benchmark segfault for 5M nodes. fun
      
      make traverse_nodes not recursive
      
      print timings on benchmark
      
      unit test for pass manager
      ae48ed32
  22. 08 Sep, 2017 1 commit
    • Scott Cyphers's avatar
      Add input/output tensor information to nodes. · 7a00e125
      Scott Cyphers authored
      All tuples are expanded out to their component tensors.
      
      Output: Describes one tensor output of an node
      Input: Described one tensor input to a node, including the output supplying the value.
      7a00e125
  23. 22 Aug, 2017 1 commit
  24. 16 Aug, 2017 2 commits
  25. 08 Aug, 2017 1 commit
  26. 25 Jul, 2017 1 commit