1. 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
  2. 13 Jun, 2019 1 commit
  3. 02 Jun, 2019 5 commits
    • 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] 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
    • 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
  4. 03 Jan, 2019 1 commit
  5. 03 Nov, 2018 1 commit
    • Jayaram Bobba's avatar
      Primitive CPU Executor for managing thread pools and executing kernels across… · 516fbe13
      Jayaram Bobba authored
      Primitive CPU Executor for managing thread pools and executing kernels across partitioned resources (#1858)
      
      * Add arena support to DEX kernels
      
      * Add CPUExecutionContext to pass executor information to kernels
      
      * Removed eigen_thread_pool. Functionality moved to cpu_executor
      
      * Moved MKLDNN engine to CPU executor
      
      * Added TBB arenas for node affinitization
      
      * Fixed missing arena in one hot kernel
      
      * Style fixes
      516fbe13
  6. 12 Oct, 2018 1 commit
  7. 29 Aug, 2018 1 commit
  8. 08 Aug, 2018 1 commit
  9. 08 Jun, 2018 1 commit
    • Jaikrishnan Menon's avatar
      Jmenon/dexec (#1092) · abb68627
      Jaikrishnan Menon authored
      * CPU: Direct Execution
      Part 1 with bare minimum infrastructure
      
      * Refactor: Move build related functionality to a separate TU
      and external function method
      
      * Add TU back after merge
      
      * Remove an assert
      
      * Remove commented-out code
      abb68627
  10. 21 Mar, 2018 1 commit
  11. 16 Mar, 2018 1 commit
    • Jai Menon's avatar
      Optimized Pad (#658) · e14c0565
      Jai Menon authored
      * CPU: Eigen-based Pad kernel
      
      * CPU: Create a global Eigen thread pool and use it for padding
      
      * Formatting fixes
      e14c0565
  12. 07 Mar, 2018 1 commit
  13. 05 Mar, 2018 1 commit
    • Robert Kimball's avatar
      Include cleanup (#583) · cec89708
      Robert Kimball authored
      * cleanup
      
      * cleanup
      
      * fix all headers to be standalone as far as includes go
      
      * include cleanup
      
      * cleanup includes
      
      * cleanup
      
      * include tester
      
      * wip
      
      * cleanup
      
      * cleanup
      
      * cleanup
      cec89708
  14. 08 Feb, 2018 1 commit
  15. 29 Nov, 2017 1 commit
  16. 12 Oct, 2017 1 commit
  17. 06 Oct, 2017 2 commits
  18. 22 Sep, 2017 1 commit
    • Robert Kimball's avatar
      fix tsort crash if rerun (#141) · 332c4833
      Robert Kimball authored
      add tensor buffer size unit test
      
      fix warnings when building mkldnn test
      
      get tensor is_output set. Add Manager state and Function to pass manager
      
      use pass manager internal state
      332c4833
  19. 20 Sep, 2017 1 commit
  20. 19 Sep, 2017 1 commit
  21. 13 Sep, 2017 1 commit
  22. 12 Sep, 2017 1 commit
  23. 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
  24. 07 Sep, 2017 1 commit
  25. 01 Sep, 2017 2 commits
  26. 31 Aug, 2017 1 commit
  27. 30 Aug, 2017 2 commits
  28. 22 Aug, 2017 1 commit
  29. 25 Jul, 2017 1 commit