1. 28 Sep, 2019 4 commits
    • Diego Caballero's avatar
      Change ownership of MLIR LIT tests directory (#3671) · 40eb9587
      Diego Caballero authored
      Aligned with contrib/mlir directory ownership. This prevents
      that Scott is added as reviewer by default.
      40eb9587
    • Diego Caballero's avatar
      [MLIR] Enable nGraph dialect in ngraph-opt (#3657) · 9db8f874
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * [MLIR] Enable nGraph dialect in ngraph-opt
      
      This PR registers nGraph dialect in ngraph-opt and prepares
      nGraph lowering pass for LIT testing, fixing all the related issues.
      Among other things, lowering pass has to be turned into a function pass,
      dead argument in constructor was removed and `convert-ngraph-to-affine`
      flag was added.
      
      * Fix issue with function name and multiple functions
      
      * Extend module_function.mlir lit test
      
      * Improve module_function.mlir test
      
      Remove ngraph to affine dialect conversion since we just need to verify
      that we can parse and print modules and functions.
      Add verification for parsing the printed code.
      
      * [MLIR] Add support for parsing nGraph element types (#3665)
      
      * [MLIR] Add support for parsing nGraph element types
      
      It introduces initial support for parsing nGraph signed/unsigned
      integer and floating point data types.
      
      * Improve LIT tests
      
      Test parsing and printing of types separately from lowering to affine
      since these tests will evolve differently, particularly for tensor
      types.
      
      * Missed file
      
      I left this file behind in the previous commit
      9db8f874
    • Jayaram Bobba's avatar
      Smaller set of constant folding kernels (#3653) · 68f6110c
      Jayaram Bobba authored
      * Instantiate only valid cases for binary op constant folding kernels
      
      * removed unused parameter
      68f6110c
    • Leona C's avatar
      Theme updates for nGraph theme in Sphinx (#3597) · deb4baef
      Leona C authored
      * latest PlaidML-GPU updates for 0.26
      
      * More theme updates
      
      * Cleaner theme to match site
      
      * Update ngraph_theme
      
      * Update Release Notes page for 0.26
      
      * update theme WIP
      
      * Update theme w/feedback
      
      * Add top navigation menu
      
      * more theme customization and cleanup
      
      * Refine more details on new ngraph theme
      
      * Refine some xsys font-kerning
      
      * Theme updates
      
      * Add latest release notes
      
      * Update HE transformer doc
      
      * Fix rendering
      
      * Resolve doc build warnings
      
      * Add doc versions
      
      * test code removed
      
      * remove test code
      deb4baef
  2. 27 Sep, 2019 6 commits
  3. 25 Sep, 2019 2 commits
  4. 24 Sep, 2019 4 commits
    • Sang Ik Lee's avatar
      Allow CPU build without TBB. (#2160) · c3eef5ab
      Sang Ik Lee authored
      * Allow TBB to be excluded from CPU build.
      
      * Change some CMake scope.
      
      * m_use_tbb can be removed if TBB is not enabled.
      
      * Revert some CMake linkage scope as it breaks unit test.
      
      * Migrate changes from #3652.
      c3eef5ab
    • Diego Caballero's avatar
      [MLIR] Add support for parsing nGraph tensor type (#3654) · e2bddf19
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * Clang format
      
      * Fix return in parser
      e2bddf19
    • Diego Caballero's avatar
      [MLIR] Add `ngraph` prefix to MLIR flags (#3625) · 1c9a1996
      Diego Caballero authored
      * [MLIR] Add `ngraph` prefix to MLIR flags
      
      Some flags collision with some MLIR flags.
      
      * [MLIR] Add support for nGraph tensor type in parser
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * Rename ngraph print flag
      
      * Rename ngraph dump mlir flags
      
      * Clang format
      
      * Revert "[MLIR] Add support for nGraph tensor type in parser"
      
      This reverts commit ae371d6a5c8ea590322d5d3b9ba110159d4bf5fa.
      1c9a1996
    • gaurides's avatar
      Update MKLDNN to v0.21 (#3641) · c42ccb33
      gaurides authored
      * Update MKLDNN to v0.21
      
      * Changed for MKLML asset for WIN32
      c42ccb33
  5. 23 Sep, 2019 2 commits
  6. 21 Sep, 2019 2 commits
    • Ewa Tusień's avatar
      [ONNX] Added support for negative axes. (#3557) · d4eb462a
      Ewa Tusień authored
      * [ONNX] Added function for converting negative axes.
      
      * [ONNX] Bugfix
      
      * [ONNX] Code formatting
      
      * [ONNX] Changed name of function.
      
      * Added validation for axis/axes.
      
      * Changed abs to llabs for int64 argument.
      
      * Changed validation function.
      
      * [ONNX] Added function for converting negative axes.
      
      * [ONNX] Bugfix
      
      * [ONNX] Code formatting
      
      * [ONNX] Changed name of function.
      
      * Added validation for axis/axes.
      
      * Changed abs to llabs for int64 argument.
      
      * Changed validation function.
      
      * Changed validation function.
      
      * Changed validation function
      
      * Changed rank size in onehot
      
      * Apply suggestions from code review
      Co-Authored-By: 's avatarTomasz Socha <tomasz.socha@intel.com>
      
      * Code refactoring.
      
      * Update flatten.cpp
      d4eb462a
    • Scott Cyphers's avatar
      Convert remaining dynamic_pointer_casts for ops (#3642) · 5e8efd54
      Scott Cyphers authored
      * Convert remaining dynamic_pointer_casts for ops
      Make is_type a function instead of a method
      Direct implementation of `is_parameter`
      
      * Add exports
      
      * Missing includes
      
      * headers
      
      * missing export
      5e8efd54
  7. 20 Sep, 2019 5 commits
    • Nishant Patel's avatar
      Add a compile time flag to support all ET's in cpu backend (#3350) · e2f55f83
      Nishant Patel authored
      * Refactor cpu/builder/dot.cpp
      
      * Support only float and i64
      
      * Refactor softmax and reduction to support only float and i64
      
      * Add a new file for customized kernels
      
      * Add compile time flag NGRAPH_CPU_LARGE_BINARY
      
      * Add compilation flag checks in reduction.hpp
      
      * change dot to only support float and i64
      
      * Revert "Refactor cpu/builder/dot.cpp"
      
      This reverts commit 0d53f27fde64872aff096f12ee9b79e5db7a7fee.
      
      * style
      
      * Consolidate macros
      
      * Refactor slice ops, reshape & pad
      
      * cleanup
      
      * Gather op
      
      * Concat, Convert and broadcast op
      
      * Tile and reverse_sequence op
      
      * Scatter_add op
      
      * ET other then fp and i64 go through ref
      
      * tests passing
      
      * Consolidate macros
      
      * Address feedback
      
      * Fall back to reference for pad and reshape
      
      * add scatter_add reference fallback
      
      * Undo concat change
      
      * Undo tile and update slice as they dont have reference implementation
      
      * Remove update slice condition
      
      * Gather op type check
      
      * change routine name
      
      * Build-time configurability for datatypes that requires optimized kernels on CPU backend (#3592)
      
      * Inline function
      
      * Change condition
      
      * VS compiler workaround
      
      * Add comment for VS workaround
      
      * More fixes for VS
      
      * More wrapping of nested macros for VS
      
      * More wrapper
      
      * variable name change and more wrapping of macros
      
      * test
      
      * Style and refactor
      
      * Wrap macros
      
      * Add a seperate macro for SELECT_KERNEL
      
      * Change SELECT_KERNEL_3ARGS
      
      * Unwrap couple of macros
      
      * Syntax
      
      * Add a new macro for fixed number of args for VS compiler
      
      * Comment/Fake ectx
      
      * Add detailed comment for the workaround for VS compiler
      
      * Comment all unused ectx variables
      
      * Templated calls to reference kernels
      
      * const args
      
      * Change softmax ref definition to take double
      
      * Hardcode softmax kernel to take double ..testing
      
      * Fix softmax
      e2f55f83
    • Leona C's avatar
      Latest illustrations of nG components and features (#3617) · b39d0aab
      Leona C authored
      * Latest illustrations of nG components and features
      
      * Update ABOUT.md
      
      * Update full stack diagram
      
      * fix typo
      
      * Updating as per discussion
      b39d0aab
    • Tomasz Dołbniak's avatar
      c1abb9a0
    • Mateusz Bencer's avatar
    • Mateusz Bencer's avatar
      [Spec] Implement Gather:v1 (#3590) · dfb1476a
      Mateusz Bencer authored
      * Gather:v1 was introduced
      
      * Added support for negative axis
      
      * Removed unsused serialization
      
      * Code review remarks introduced
      
      * Change returned type of get_axis method
      
      * Code review remarks introduced
      
      * Chnaged axis_node to scalar during transformation
      
      * Clang style applied
      
      * Fixed clang errors
      
      * style
      dfb1476a
  8. 19 Sep, 2019 5 commits
    • Adam Procter's avatar
      Add RandomUniform op (#3611) · ab440246
      Adam Procter authored
      * Add RandomUniform op
      
      * Missing files
      
      * Make CPU compile again (RandomUniform tests still don't pass)
      
      * Bop users of existing RNGState class and reorder some comment junk
      
      * Try to bop RNGState in gcpu
      
      * Add RandomUniform to CPU manifest
      
      * Add RandomUniform to PlaidML manifest
      
      * Add .rst for random_uniform
      
      * Clean up junk in the .rst
      
      * Change UniformRNGState to always use double internally
      
      * Change weird test failure message
      
      * Compilation issues
      ab440246
    • Diego Caballero's avatar
      [MLIR] Add flag to dump jitted MLIR to object file (#3607) · f5c89181
      Diego Caballero authored
      * [MLIR] Add flag to dump jitted MLIR to object file
      
      This PR adds a flag to be able to dump the jitted MLIR code to an object
      file and another flag to be able to specify the object file name.
      
      * Add curly braces
      
      * Fix wrong merge
      f5c89181
    • Scott Cyphers's avatar
      Mmahbubu/provenance fix grpah replace (#3624) (#3639) · f40f3981
      Scott Cyphers authored
      * Fixes bug in provenenace for subgraph replacement
      
      * Updates unit tests for the provenance algorithm fix
      
      * Changes provnance set to ordered set for better consistency in iteration order.
      f40f3981
    • Robert Kimball's avatar
      Remove debug graphviz plots (#3623) · 4e175405
      Robert Kimball authored
      4e175405
    • Scott Cyphers's avatar
      Re-enable sign-compare and double-promotion warnings (#3629) · 6c89a91f
      Scott Cyphers authored
      * Fix unsigned comparison and implicit double conversion
      
      * Eliminate sign/unsigned compare warnings, implicit double conversion
      
      * Missed type
      
      * Neww int type
      
      * omp compromise
      
      * style
      6c89a91f
  9. 18 Sep, 2019 5 commits
    • Diego Caballero's avatar
      d1a9b8b3
    • Mateusz Bencer's avatar
      [Spec] Implement Pad:v1 (#3574) · 81b492d4
      Mateusz Bencer authored
      * Pad:v1 was introduced
      
      * Fixed problem with foward declaration
      
      * Code review remarks introduced
      
      * Addtinal asserts and unit-test for Pad:v1 introduced
      
      * Handled optinal arg_pad_value input
      
      * Fixed unit tests messages and clang styles applied
      
      * Styles applied, checking rank improved
      
      * Updated changes.md
      
      * Revert "Updated changes.md"
      
      This reverts commit 8ee16e580705275ee0719648d5251021354e4d84.
      
      * Clang warning fixed
      81b492d4
    • Mateusz Bencer's avatar
      [SPEC] Adjust Concat to specification (#3582) · 779a9300
      Mateusz Bencer authored
      * Changed name of concat axis
      
      * Clang styles applied
      
      * Revert "Clang styles applied"
      
      This reverts commit 4c1d3f4436765ce9eafa00140365d5d3e358eab1.
      
      * Revert "Changed name of concat axis"
      
      This reverts commit cdfe6638777509f21b199ce78fc2fe28cec15d45.
      
      * Introduced alias methods
      
      * Updated changes.md
      779a9300
    • Tomasz Dołbniak's avatar
      [ONNX] Handling of unknown domains in ONNX models (#3631) · bccb1ec8
      Tomasz Dołbniak authored
      * Do not throw for unknown domains in ONNX models
      
      * UT that makes sure onnx_importer does not throw for unknown domains
      
      * Check if nGraph throws for unknown ONNX domain and op
      bccb1ec8
    • Nagy Mostafa's avatar
      [MLIR] Add padding support to Convolution (#3586) · 43a1bf1c
      Nagy Mostafa authored
      * Enable Padding
      
      * Small fix to match MLIR API change
      
      * WIP
      
      * Subtract pad below from virtual img index
      
      * Fixed integer set inequalities
      
      * style-apply
      
      * remove unneeded padAbove values
      
      * Remove dump call
      
      * PR feedback
      
      * style apply
      43a1bf1c
  10. 17 Sep, 2019 4 commits
  11. 16 Sep, 2019 1 commit
    • Nagy Mostafa's avatar
      [MLIR] Fix style in compiler and lowerer files (#3564) · 7b3c323b
      Nagy Mostafa authored
      * Fix style in compiler and lowerer files
      
      * Fix comment in headers
      
      * Revert "Fix comment in headers"
      
      This reverts commit d52eed4c1bdf371f3cc7d3f601d9d2b1b0c233e8.
      
      * Fix compiler.* header. Fix code style in other files
      7b3c323b