1. 18 Jul, 2019 1 commit
    • 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
  2. 17 Jul, 2019 3 commits
    • Diego Caballero's avatar
      [MLIR] Add llvm.noalias attribute to nGraph func args (#3232) · ac8e22d9
      Diego Caballero authored
      Aliasing prevents vectorization and other optimizations in LLVM (dot2d,
      for example). I found that LLVM dialect contemplates the possibility of
      previous dialects adding llvm.noalias attribute to function arguments so
      that the NoAlias attribute is generated in LLVM-IR. This should be good for
      now although we should discuss how to model this in Standard dialect and co.
      ac8e22d9
    • 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
    • Nagy Mostafa's avatar
      [MLIR] Fix incorrect callback lookup (#3233) · 9b748d2c
      Nagy Mostafa authored
      * Fix incorrect callback lookup
      
      * Use std.AllocOp(malloc) for static tensor allocations
      
      * Clean up
      
      * revert getCallDecl change
      
      * style
      9b748d2c
  3. 16 Jul, 2019 1 commit
  4. 11 Jul, 2019 2 commits
    • Nagy Mostafa's avatar
      [MLIR] Add sub-graph extraction support (#3101) · f4b487a4
      Nagy Mostafa authored
      * Initial sub-graph extraction
      
      * Works without detaching input edges from sub-graph
      
      * Added removing input edges to graph
      
      * Works with whole func sub-graphs. Inputs edges to sub-graph are still there
      
      * Works on 2 exclusive sub-graphs. Still not on merged sub-graphs
      
      * Revert removing inputs to sub-graph. nGraph validation crashes
      
      * Added 3 sub-graph test. Remove compiled_kernel fusion pass. Comments
      
      * Revert some changes
      
      * Added cycle detection. Removed unit-tests to backend_mlir.in.cpp. Still not fully functional
      
      * Construct CK nodes after finding outputs to preserve the graph.
      
      * Fix topological sort. UTs pass.
      
      * Minor fixes
      
      * PR fixes
      
      * Enable mlir tests only when building with MLIR on
      f4b487a4
    • Nagy Mostafa's avatar
      [MLIR] Support MLIR lowering of Relu (#3197) · d1af0bb7
      Nagy Mostafa authored
      * Support MLIR lowering of Relu
      
      * Use EDSC comparison
      
      * style-apply
      
      * Use .inc file for Conversion classes list
      
      * Disable i32 Relu for plaidml
      d1af0bb7
  5. 02 Jul, 2019 1 commit
  6. 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
  7. 20 Jun, 2019 1 commit
  8. 19 Jun, 2019 1 commit
  9. 13 Jun, 2019 6 commits
  10. 10 Jun, 2019 3 commits
  11. 03 Jun, 2019 6 commits
  12. 02 Jun, 2019 14 commits