1. 29 May, 2019 1 commit
  2. 06 May, 2019 1 commit
  3. 26 Apr, 2019 1 commit
  4. 20 Apr, 2019 1 commit
    • Sang Ik Lee's avatar
      Fix install path on Windows (#2765) · 2257d9cf
      Sang Ik Lee authored
      * CMAKE_CFG_INTDIR does not work at install time. Use CMAKE_INSTALL_CONFIG_NAME on Windows.
      
      * Rename NGRAPH_*_INSTALLSRC_DIRECTORY to NGRAPH_*_INSTALL_SRC_DIRECTORY
      2257d9cf
  5. 19 Apr, 2019 2 commits
  6. 12 Apr, 2019 1 commit
    • Adam Procter's avatar
      Deprecate direct access to descriptor::Input and descriptor::Output (#2724) · 5490bae5
      Adam Procter authored
      * Add NodeInput and NodeOutput classes
      
      * Deprecate Node::get_inputs, Node::get_outputs, Node::get_output_inputs. Remove Node::get_input_from and Node::get_output_from
      
      * Privatize most fields of Node
      
      * Make deprecation of descriptor-munching classes optional
      
      * Review comments
      
      * Adapt ReshapeSinking to use raw pointers for NodeInput
      
      * Fix ZDTE (thought I had already done in this branch, weird); style
      
      * wip
      
      * Change get_node_outputs() and get_node_inputs() to return vectors
      
      * Updates after merge
      
      * Whoops, forgot to define these functions
      
      * {NodeInput,NodeOutput} -> {Input,Output}
      
      * Kill shared_ptr in Output
      
      * Move Input and Output into node.hpp
      
      * Templatize the underlying node (sub)type in Input and Output
      
      * Eliminate some get_input_* and get_output_* functions
      
      * Change get_outputs and get_inputs back to their original names; rename NGRAPH_DEPRECATE_IO_DESCRIPTORS to NGRAPH_DEPRECATE_OLD_NODE_APIS
      
      * Miscellaneous cleanup
      
      * More cleanup
      
      * Unbreak CPU build
      
      * Simplify unit tests
      
      * Make Node less friendly
      
      * Deprecate more get_output_* and get_input_* functions
      
      * A couple of PR comments
      
      * Make the deprecation stuff more generally available
      
      * Better comment
      
      * Be more consistent about [] vs. at
      5490bae5
  7. 05 Apr, 2019 1 commit
  8. 29 Mar, 2019 1 commit
  9. 18 Mar, 2019 1 commit
  10. 14 Mar, 2019 1 commit
    • 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
  11. 07 Mar, 2019 1 commit
  12. 04 Mar, 2019 1 commit
  13. 27 Feb, 2019 1 commit
  14. 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
  15. 22 Feb, 2019 1 commit
  16. 19 Feb, 2019 2 commits
  17. 13 Feb, 2019 1 commit
    • Sang Ik Lee's avatar
      Silee2/subdirectories (#2420) · 7621d5ab
      Sang Ik Lee authored
      * CMake: Only add subdirectories if needed.
      CMake: Disable TBB on Windows.
      
      * CMake: mkl-dnn is only needed for CPU backend.
      
      * CMake: Check dependency between options.
      
      * CMake: Eigen is only needed for CPU or GENERIC_CPU backend.
      
      * Enable TBB on Windows.
      
      * Disable tools unit test if nGraph tools are disabled.
      7621d5ab
  18. 11 Feb, 2019 2 commits
    • 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
    • Michał Karzyński's avatar
      e3024a38
  19. 04 Feb, 2019 1 commit
    • 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
  20. 31 Jan, 2019 1 commit
  21. 29 Jan, 2019 1 commit
  22. 25 Jan, 2019 1 commit
  23. 18 Jan, 2019 1 commit
    • Louis Feng's avatar
      Addes backprop to BatchDot op, allows fusion in training. (#2297) · ef778693
      Louis Feng authored
      * batch dot bprop WIP.
      
      * WIP.
      
      * testing.
      
      * clean up debug code.
      
      * comments and var name change.
      
      * clean up.
      
      * format style, batch dot differentiable pass.
      
      * removed debug output.
      
      * added unit test to autodiff, refactored make_function -> make_function_from_file.
      
      * fixed build warning.
      
      * fixed gpu build error.
      
      * clang format fix.
      
      * all test_tools.cpp to find SERIALIZED_ZOO
      
      * remove cmake redef.
      
      * fix unused macro.
      
      * making test cpu only.
      
      * testing build var
      
      * macro test
      
      * verbose makefile test
      
      * style fix
      
      * verbose make
      
      * test/util needs test/models.
      
      * removed debug output.
      
      * refactor fusion type.
      
      * refactor fusion type.
      ef778693
  24. 17 Jan, 2019 1 commit
  25. 12 Jan, 2019 1 commit
  26. 08 Jan, 2019 1 commit
    • Rob Earhart's avatar
      Use plaidml cmake config (#2290) · fa3200f1
      Rob Earhart authored
      * Use plaidml cmake config
      
      * Require PlaidML if requested
      
      * Don't install libplaidml
      
      We can assume that it's correctly installed on the target, especially
      since it needs to be correctly installed in order to find its
      configuration files.
      fa3200f1
  27. 07 Jan, 2019 1 commit
  28. 05 Jan, 2019 1 commit
    • Chris Sullivan's avatar
      nvgpu backend without clang (#2115) · 757621be
      Chris Sullivan authored
      * Separate out external function base class.
      
      * pt1 first step to removing m_writer from GPU_Emitter.
      
      * pt2 add gpu_internal function skeleton
      
      * pt3 temporarily add to gpu_backend for prototyping.
      
      * pt4 add call frame (partial) and runtime constructor
      
      * pt 5 implement resolution for function memory reservations. build new tensor wrapper for use with call frame.
      
      * pt 6 resolve compilation errors.
      
      * pt 7 Add host emitter for emitting host primtives and implement in gpu emitter.
      
      * pt 8 add compile time manifest.
      
      * pt 9 add simple runtime tracer.
      
      * pt 10 seperate runtimes for different functions. index by function name, should switch to using function instance_id for look up performance.
      
      * pt 11 add function call interface and support nested call frames
      
      * pt 12 Reshape elimination check in emitter needs to include offset.
      
      * pt 13 Add default indentation to all op emissions in gpu external functions.
      
      * pt 14 fix constant mem reservation (should not depend on the tmeporary buffers existence check.
      
      * pt 15 backward pooling for avg pool requires only one param. rather than passing this param
      three times, this commit changes the runtime to detect if its avgpooling and pass the appropriate pointers.
      This is a hold over until max and avgpool are refactored into separate cudnn emitters.
      
      * pt 16 update cmake compatibility. gpu backend can now be built without clang via NGRAPH_DEX_ONLY.
      if this cmake variable is not define, then both clang codegen (via gpu external function) and interpreter (via gpu internal function) modes will be built.
      for now codegen is the default backend but can be explicitly disabled by setting the env. variable to NGRAPH_CODEGEN=0/FALSE/NO/etc.
      
      additional note: made codegen::CodeWriter header-only so that it can be used independently of whether the clang codegen library is compiled.
      
      * pt 17 fix issues with merge from master
      
      * pt 18 factor compile function into a few virtual calls so that common passes can be added in a single location for both backends.
      
      * pt 19 formatting
      
      * Remove code_writer.cpp from cmake and disable (temporarily) some reduce tests that require changes to gpu_emitter.cpp
      
      * Move call frame and runtime constructor implementations to source files.
      
      * Use member m_common_function_string.
      
      * Applying analogous bug fix as found in #2145
      
      * Remove underscore from GPU_CompiledFunction, GPU_ExternalFunction, and GPU_InternalFunction.
      
      * Made static members of GPUCompiledFunction static methods.
      
      * Remove 'No' codegen options, use std::toupper and applied format
      
      * review comments
      
      * Remove vector overload for resolve inputs/outputs in GPUCallFrame.
      
      * Remove diagnostic pragmas
      757621be
  29. 03 Jan, 2019 1 commit
  30. 02 Jan, 2019 1 commit
  31. 28 Dec, 2018 1 commit
  32. 23 Dec, 2018 2 commits
    • Robert Kimball's avatar
      Hybrid GPU Backend (#2240) · 90503652
      Robert Kimball authored
      * Add GPUH hybrid backend
      
      * update manifests
      
      * update node operator<<
      
      * fix GOE
      
      * remove debug
      
      * remove debug
      
      * more cleanup
      
      * add parent support to cpu and intel gpu backend tensors
      
      * cleanup
      
      * fix odd failure when printing node during construction
      
      * fix node output
      
      * address review comments
      
      * style
      90503652
    • Robert Kimball's avatar
      Remove code designed to support the Ninja cmake generator (#2241) · 42f16035
      Robert Kimball authored
      * update build byproducts to support ninja
      
      * remove unused cmake code
      
      * more cmake cleanup
      
      * display error message if Ninja generator is requested
      
      * fix mkldnn ext project
      
      * revert onnx cmake file
      
      * revert protobuf cmake file
      
      * revert mlsl cmake file
      
      * more fixing
      42f16035
  33. 14 Dec, 2018 1 commit
  34. 13 Dec, 2018 1 commit
  35. 11 Dec, 2018 2 commits
    • Robert Kimball's avatar
      Framework for Hybrid GPU backend (#2196) · af2c4c7d
      Robert Kimball authored
      * add empty framework for hybrid GPU, or GPUH
      
      * move placement to the runtime directory
      
      * wip
      
      * skeleton for hybrid GPU backend. most unit tests pass.
      
      * cleanup
      
      * move hybrid code into hybrid dir/namespace
      
      * move hybrid functions
      
      * move more hybrid functions to hybrid directory
      
      * fix placement after compile. All unit tests passing
      
      * fix gpu backend ctor
      af2c4c7d
    • Robert Kimball's avatar
      Windows build support (#2177) · 9234cc69
      Robert Kimball authored
      * files pulled from bob/winbuild
      
      * fix compile problems
      
      * fix a few windows build errors
      
      * add windows file to exclude from git
      
      * add comment why change was made
      
      * revert obsolete change
      
      * more cleanup
      
      * building interpreter and unit test on windows with DLLs
      
      * Add flag for windows to export all symbols. Short term fix.
      
      * enable MD build
      
      * address warnings
      
      * dump all windows build results to a single directory
      
      * fix windows backend dll open issue
      
      * remove debug
      
      * fix file iterator for windows
      
      * fix merge error
      
      * fix test failure
      
      * change header from h to hpp in hopes of making python happy
      
      * address more linux build issues
      
      * fix visibility enable
      9234cc69