1. 22 May, 2019 1 commit
    • Adam Procter's avatar
      Add more infrastructure for specialization of cloned graphs (#2949) · da1cacde
      Adam Procter authored
      * Virtualize some things that crash when layout descriptor is missing
      
      * More shape specialization
      
      * (very bare) skeleton for dyn elimination
      
      * Miscellaneous
      
      * Lift i32->int64-only restriction on constant folding for Convert
      
      * Add constant folding for ShapeOf, and some tests for new constant folders
      
      * Tests for DynElimination
      
      * Rename specialize_shapes to specialize_function, and add a unit test for value substitution
      
      * Roll back overeager API change in dyn slice bprop (it has to handle right-indexed axes; bummer)
      
      * Add a test for dynamic usage of transpose op
      
      * Fix warning/error about variable shadowing
      
      * Strengthen checks in apply_permutation
      
      * Propagate Constant shapes through Transpose
      
      * Add CHANGE_DYNAMIC_STATE where appropriate
      
      * PR feedback, and fix unit test failure
      
      * Fix PR reference in comment
      
      * PR comments
      
      * Comments for helper funcs
      
      * Remove unique_ptr indirection for the AlignedBuffers
      
      * Fix incorrect indexing of AlignedBuffer vector (whoops\!)
      
      * Remove unnecessary CHANGE_DYAMIC_STATEs
      
      * De-update pass property unit test for const folding
      
      * Replace mystery runes with all_pass_property_off
      da1cacde
  2. 21 May, 2019 1 commit
  3. 17 May, 2019 1 commit
  4. 13 May, 2019 1 commit
    • Sang Ik Lee's avatar
      scatter_add and scatter_nd_add (#2874) · 7e6c34cf
      Sang Ik Lee authored
      * Temp save.
      
      * Temp save.
      
      * Temp save.
      
      * Temp save.
      
      * Temp save.
      
      * Temp save.
      
      * Temp save.
      
      * Fix compile errors.
      
      * Fix incorrect index.
      
      * Fix UT typo.
      
      * Interpreter passes UT.
      
      * Fix more bugs.
      
      * Apply style.
      
      * Add shape check for updates tensor.
      
      * Merge typo
      7e6c34cf
  5. 10 May, 2019 1 commit
    • Adam Procter's avatar
      Dynamic-shape backend API change, with prototype implementation (#2844) · 5b0c6a32
      Adam Procter authored
      * Add create_dynamic_tensor function to Backend signature
      
      * Add skeleton of dynamic wrapper class
      
      * Simple test for construction
      
      * Some progress on dynamic tensor creation
      
      * Compile dynamic wrapper into core; change config string to a factory option
      
      * Add wrapped executable, working on simple example
      
      * Add wrapped dynamic tensor
      
      * Update to match new tensor API
      
      * Update wrapper to clone the graph; basic dyn test now passes
      
      * Update call_with_validate to grok dynamic
      
      * Make the unit tests a little prettier
      
      * Make get_element_type virtual
      
      * Change dynamic tests to be backend-parametric; fix get_element_type check for dyn tensors
      
      * Add dynamic.in.cpp
      
      * CODEOWNERS entry for dynamic_wrapper
      
      * Remove overly-accommodating behavior for create_dynamic_tensor on non-dynamic BEs
      
      * Pass enable_performance_collection to wrapped compile() calls
      
      * More comments in the 'abc' test
      
      * Fix 'create' wrapper in pybind11
      
      * Remove unnecessary WrappedStaticTensor class
      
      * Better names for the classes, and add some docstrings
      
      * Fix pybind for 'create' to return shared_ptr now
      5b0c6a32
  6. 01 May, 2019 1 commit
  7. 30 Apr, 2019 2 commits
  8. 29 Apr, 2019 1 commit
  9. 26 Apr, 2019 1 commit
  10. 23 Apr, 2019 1 commit
  11. 19 Apr, 2019 1 commit
    • Robert Kimball's avatar
      More hybrid fixes (#2788) · b1b0ea87
      Robert Kimball authored
      * wip
      
      * Make a copy of the FunctionCall's internal function prior to compilation
      
      * Make sure unit test is only included with interpreter and cpu backends enabled
      b1b0ea87
  12. 18 Apr, 2019 2 commits
    • Michał Karzyński's avatar
      [ONNX] Split ONNX tests into smaller files in test/onnx subdirectory (#2779) · 57d637bc
      Michał Karzyński authored
      * Move ONNX tests to the test/onnx subdirectory
      
      * Change non-conforming test names
      
      * Refactor quant and reshape tests to separate files
      
      * Refactor tests into separate files
      
      * Rename test in GPU excludes
      57d637bc
    • Mohammad Mahbubuzzaman's avatar
      Adds provenance tag propagation (#2747) · 6cfe5b41
      Mohammad Mahbubuzzaman authored
      * Add some unit tests for provenance with node replacement
      
      * One more test
      
      * add provenace propagation
      
      * Adds ability to control whether provenance is on or off
      
      * Add some unit tests for provenance with node replacement
      
      * One more test
      
      * add provenace propagation
      
      * Adds ability to control whether provenance is on or off
      
      * Removes extraneous semicolon
      
      * Fixes include header errors
      
      * Reimplements provenance enable flag using global variable
      
      * Fixes style issues.
      
      * Adds newline at the end of file.
      
      * Fixes function return type.
      
      * Adds RAII mechanism for localizing provenance enable state in testing.
      
      * Improves getter/setter method name to match variable name.
      
      * Adds s_ prefix to global variable provenance_enabled.
      6cfe5b41
  13. 17 Apr, 2019 1 commit
    • Sang Ik Lee's avatar
      gather, gather_nd (#2742) · 59632bac
      Sang Ik Lee authored
      * Temp.
      
      * Put all the dummy files.
      
      * Remove some compile errors.
      
      * WIP: Add gather and gather_nd kernels.
      
      * Temp save.
      
      * Update comments for gather.
      
      * Implement reference gather.
      
      * Validate and infer shape.
      
      * Style.
      
      * Fix compile issues.
      
      * Add serializer support.
      
      * Fix interpreter compilation issues.
      
      * WIP: Add UT
      
      * WIP: Add UT
      
      * gather_nd UT passing.
      
      * Fix gather with no axis.
      
      * Fix gather issue.
      
      * Update unit_test.manifest for backends and add gather, gather_nd  support for generic cpu.
      
      * Add type_prop tests.
      
      * Add CPU builders.
      
      * Fix codegen.
      
      * Make some UT numbers more readable.
      
      * Style.
      
      * Update Copyright Year
      
      * Update Copyright Year
      
      * Fix Typo.
      
      * Remove unused variable.
      
      * fix nv gpu build error
      
      * Fix intel gpu compilation.
      
      * Add basic docstring.
      
      * Allow 1D indices for gather_nd.
      
      * Allow scalar indices for gather.
      
      * Update unit_test manifest files.
      
      * Style.
      
      * Add indices element type check and add failing type_prop checks.
      
      * Update docstring.
      
      * Fix incorrect test names in unit_test.manifest
      
      * Missing header
      59632bac
  14. 16 Apr, 2019 2 commits
  15. 15 Apr, 2019 1 commit
    • Adam Procter's avatar
      Replace NGRAPH_ASSERT with faster NGRAPH_CHECK; remove all casserts (#2727) · b9e6b40c
      Adam Procter authored
      * Replace assert and NGRAPH_ASSERT with NGRAPH_CHECK; deprecate old classes
      
      * Rename node_validation_assertion_string to something slightly more descriptive
      
      * Fix syntax error in GPU BE
      
      * Fix some messed-up includes
      
      * More comments, more tests
      
      * Fix reference to properly include check.hpp (should unbreak codegen)
      
      * Add check.hpp include to gpu_util.cpp
      
      * Comment updates
      
      * Comment update
      
      * Oops
      
      * PR feedback: better formatting when context info or explanation are missing
      b9e6b40c
  16. 09 Apr, 2019 1 commit
  17. 05 Apr, 2019 2 commits
  18. 04 Apr, 2019 1 commit
    • Robert Kimball's avatar
      bfloat16 testing and fixes (#2693) · 667d8f9e
      Robert Kimball authored
      * add test file
      
      * add new float_util files
      
      * Add unit tests for bfloat. Fix bfloat rounding code since it was incorrectly rounding.
      
      * add more tests
      
      * cleanup
      
      * change trucate to be endian agnostic
      
      * prep work for constexpr ctors
      
      * ready for constexpr
      
      * constexpr ctor for bfloat16
      
      * more bfloating
      
      * write constexpr isnan since it is not constexpr on Macos
      
      * remove cast operator
      
      * add benchmark test and cleanup
      
      * use aligned buffers for benchmark tests
      
      * fix numbers printed in benchmark
      
      * remove union and use cast operator
      
      * all tests passing
      
      * cleanup
      667d8f9e
  19. 29 Mar, 2019 1 commit
    • Avijit's avatar
      Avijit/event traces (#2674) · 3611cc60
      Avijit authored
      * Added the initial rev. of the Event tracing
      
      * Fixed the API and format
      
      * Updated based on review feedback
      
      * More updates based on code review feedback
      
      * Fixxed format again
      
      * More update based on PR review comments
      
      * Fixed format
      
      * Fix a compilation error that doesn't show up in local system!
      3611cc60
  20. 28 Mar, 2019 1 commit
    • Adam Procter's avatar
      Pass for specialization of shape-relevant inputs (#2645) · beddf528
      Adam Procter authored
      * Skeleton for shape specialization
      
      * Change signature of as_constants to return the vector, with zero elements in case of failure
      
      * Add as_constants implementation for Concat
      
      * Some comments
      
      * Add check for element types of replacements; fix comment typo
      
      * Address PR feedback, and add some comments
      
      * An extra check, and a comment, ahead of the memcpy
      
      * Minor comment wording fix
      beddf528
  21. 25 Mar, 2019 1 commit
    • Ayan Moitra's avatar
      Concat Elimination and Self Concat Fusion pass (#2634) · ba96aa0f
      Ayan Moitra authored
      * [WIP] First commit
      
      * Remove some commented code
      
      * Further changes
      
      * Further changes
      
      * Add method to remove patterns with just one concat
      
      * Add tests
      
      * Add more tests
      
      * Fix fan out case
      
      * refactor code
      
      * refactor code
      
      * Added NGRAPH_DEBUG statements
      
      * Use INTERPRETER as backend instead of CPU...travis build failure
      
      * clang
      
      * minor edit
      
      * add more checks in the tests
      
      * Incorporate Bob's comment
      
      * Removed some NGRAPH_DEBUG statements and incorporated Pruthvi's comment
      
      * Incorporate Xiaoyu's comments
      
      * some refactoring
      ba96aa0f
  22. 18 Mar, 2019 1 commit
  23. 14 Mar, 2019 3 commits
    • Robert Kimball's avatar
      add unit tests for the two versions of Backend create_tensor (#2607) · 3e87ab9b
      Robert Kimball authored
      * add unit tests for the two versions of Backend create_tensor
      
      * disable new unit test on GPU until we have time to address it
      3e87ab9b
    • Sang Ik Lee's avatar
      Silee2/external project rpath (#2525) · 1eea5fe6
      Sang Ik Lee authored
      * Set rpath for mkl-dnn.
      
      * Set library rpath to  on Linux.
      
      * Use patchelf to set rpath of prebuilt mklml library.
      
      * Add patchelf to Linux Dockerfiles.
      
      * Revert "Add patchelf to Linux Dockerfiles."
      
      This reverts commit 1769505a866061552942e19467ddcc0dad0922e8.
      
      * Revert "Use patchelf to set rpath of prebuilt mklml library."
      
      This reverts commit 726f6553a0450520328607177d64baf48fa93dd2.
      
      * Copy cldnn runtime.
      
      * Copy mlsl libraries.
      1eea5fe6
    • Adam Procter's avatar
      Add support for shape-specialization of functions (#2322) · 6e877f6c
      Adam Procter authored
      * Add support for shape-specializing functions
      
      * Move PR comment into docstring for specialize_shapes
      
      * Fix some broken unit tests
      
      * Add stub cases for op_tbl-dependent stuff
      
      * Revert "Add stub cases for op_tbl-dependent stuff"
      
      This reverts commit 2153967dc2fe544ca78a99548c8bb3cdfefc8470.
      6e877f6c
  24. 06 Mar, 2019 1 commit
  25. 27 Feb, 2019 1 commit
    • Robert Kimball's avatar
      Function call working (#2472) · 84167659
      Robert Kimball authored
      * function call working
      
      * fix compile error
      
      * fix compile error
      
      * add attribute support to plot_graph
      
      * fix build error
      
      * fix merge error
      
      * better colors for FunctionCall op
      84167659
  26. 25 Feb, 2019 1 commit
    • Sang Ik Lee's avatar
      Update mkl-dnn build script. (#2487) · 65ac0e68
      Sang Ik Lee authored
      Update TBB build script for Windows.
      
      Fix typo.
      
      Fix incorrect omp lib name on Windows.
      
      Fix incorrect tbb.dll path on Windows.
      
      Make LIBRARY and ARCHIVE output directory consistent.
      
      Function missing on Windows.
      
      Update test::util::all_close() to fix compilation issue on Windows
      
      Export CPU_Executable on Windows.
      
      Change nbench path for unit-test on Windows.
      
      Change copy to copy_if_different.
      
      Install CPU backend on Windows.
      
      Disable tools test on Windows.
      
      Disable two failing unit test on Windows CPU.
      
      Fix incorrect CPU backend install path on Windows.
      65ac0e68
  27. 13 Feb, 2019 1 commit
  28. 11 Feb, 2019 1 commit
    • Sandeep's avatar
      add OpenMPI support besides MLSL (#2353) · 08c4c57c
      Sandeep authored
      * quick fix to add openmpi as default
      
      * add finalize to distributed class & use unit test
      
      * use intel mlsl github link
      
      * apply style
      
      * address a few comments
      
      * fix test
      
      * update nbench cmake
      
      * remove extras
      
      * fix a bug
      
      * add counter to finalize and cleanup
      
      * test ci error
      
      * address mlsl ci error
      
      * update flag names, as mentioned in pr comment
      
      * revert back the link to mlsl repo and tag
      
      * add flag to finalize
      
      * apply style
      
      * debug with info
      
      * delete when flag is true
      
      * add distributed setup class works, tests pass
      
      * fix style
      
      * remove extra instance
      
      * disable the test due to a bug
      
      * change flag to ompi
      
      * remove the dependency of setting NGRAPH_DISTRIBUTED_ENABLE flag
      
      * cleanup
      
      * change extern to static
      
      * remove the option NGRAPH_DISTRIBUTED_ENABLE setting this flag
      
      * formatting
      
      * update flags not catched by ci
      
      * make unique pointer
      
      * remove unused bool, fix clang error
      08c4c57c
  29. 04 Feb, 2019 2 commits
    • Robert Kimball's avatar
      Windows support. (#2394) · 45a0fb47
      Robert Kimball authored
      * fix windows build
      
      * wip
      
      * mkldnn seems to build
      
      * address various errors building cpu backend with MSVC
      
      * wip
      
      * wip
      
      * Windows support.
      
          * Delete dependency of LLVM when building with MSVC.
      
      * Define EIGEN_HAS_CONSTEXPR when using MSVS.
      
      * Fix MSVC build errors.
      
          * Incorrect argument to 'decltype'. It is VC bug. Work around the
          error with rename the function into different name.
      
          * MINMAX issue in matmul_bias.cpp.
      
          * Correct TBB_LINK_LIBS on Windows.
      
      * Fix MSVC link errors.
      
          1. redefine problems in cpu_builder.obj and convert_layout.obj. It
          is because cpu_builder.hpp contains an implicit implement of
          function runtime::cpu::Builder::build for cpu::op::ConvertLayout.
          The fix is deleting the registration item in cpu_builder.cpp and
          using REGISTER_CPU_OP_BUILDER in convert_layout.cpp.
      
          2. Fix the dependent libraries path on Windows. It should be *.lib
          not *.dll when linking these libraries.
      
      * Set visibility for CPU backend to fix the MSVC linker error.
      
          MSVC complain that the .def file exceed the size limitatoin
          when using CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS. All the functions
          with CPU_BACKEND_API are used by unit test or nbench.
      
      * Fix unit test build errors on Windows.
      
          * backend_unary_elementwise.in.cpp: Use all_close_f to test case
          BACKEDND sqrt
      
          * cpu_fustion.cpp: Fix 'NUM_STEPS' cannot be implicitly
          captured because no default capture mode has been specified
      
          * cpu_test.cpp: Use portable setenv and unsetenv from misc.hpp.
      
          * tools.cpp: Use portable fpopen from misc.hpp.
      
          * misc.hpp/misc.cpp: Add new files to host misc functions that Linux and
          Windows using different implementation.
      
      * Make Debug mode work with MSVC.
      
      * style
      
      * fix line ending
      45a0fb47
    • Robert Kimball's avatar
      The General Purpose graph splitting is no longer used (#2391) · 1efd0bfd
      Robert Kimball authored
      * remove general splitting code. New code in hybrid transformer.
      
      * more cleanup
      1efd0bfd
  30. 28 Jan, 2019 1 commit
  31. 26 Jan, 2019 1 commit
  32. 24 Jan, 2019 1 commit
    • Robert Kimball's avatar
      Hybrid backend update (#2306) · 4d272f1f
      Robert Kimball authored
      * update hybrid unit test
      
      * remove unused files
      
      * add graphviz to test
      
      * add ability to add attributes to graphviz nodes
      
      * tweak colors
      
      * more interesting graph
      
      * update test model
      
      * add memory management passes
      
      * add Dump
      
      * wip
      
      * remove in-place code from memory layout
      4d272f1f
  33. 17 Jan, 2019 1 commit
    • Adam Procter's avatar
      Retire FunctionCall, Reduce, ReduceWindow, SelectAndScatter (#2223) · 18d0993e
      Adam Procter authored
      * Retire Reduce, ReduceWindow, SelectAndScatter
      
      * Remove lingering AnyAllReplacement code
      
      * Remove apparently-now-unused macro
      
      * Remove lingering op/reduce.hpp includes
      
      * Remove FunctionCall
      
      * Update Python stuff to remove FunctionCall, Reduce
      
      * Add Any/All tests to GPU manifest
      
      * Remove deleted .hpp #include from gpu_compiled_function.cpp
      
      * Restore reduce_function.cpp since that is where the All/Any implementations ended up residing
      
      * Add reduce_function.cpp back into CMakeLists.txt
      
      * Remove #include of deleted reduce.hpp
      
      * Re-remove AnyAllReplacement from GPU passes
      
      * Remove deleted #includes from gpu_internal_function.cpp
      
      * Remove git conflict stuff (whoops)
      
      * Add newline at EOF, per review comment
      
      * Address flake8 complaint about unused import
      18d0993e