1. 16 Jan, 2020 1 commit
    • Sang Ik Lee's avatar
      Build LLVM at CMake configure time and use CMake config file. (#4144) · 34bf01c8
      Sang Ik Lee authored
      * Build LLVM at CMake config time and use CMake config file for dependencies.
      
      * Temp save.
      
      * Codegen functioning.
      
      * Support prebuilt LLVM.
      
      * Remove zlib.
      
      * Relax CMake minimum version.
      
      * Fix bug.
      
      * Lower CMake version requirement.
      
      * Pass more args.
      
      * Add proper quote.
      
      * Remove quotes.
      
      * Try to separate flags for external projects.
      
      * Don't pass flags to LLVM.
      
      * Pass CXX abi.
      
      * Remove stale print.
      
      * Update gtest flags.
      
      * Try to fix build issue.
      
      * Patch LLVM to prevent building clang-tools-extra.
      Co-authored-by: 's avataraslepko <44713115+aslepko@users.noreply.github.com>
      34bf01c8
  2. 01 Jan, 2020 1 commit
  3. 19 Sep, 2019 1 commit
  4. 13 Sep, 2019 1 commit
  5. 13 May, 2019 1 commit
  6. 28 Mar, 2019 1 commit
    • Sang Ik Lee's avatar
      header resource line by line (#2663) · 300bfc70
      Sang Ik Lee authored
      * Process one line at a time to support MSVC.
      
      * Fix undefined variable.
      
      * Style.
      
      * Split header into 64k chunks on windows and re-assemble in codegen.
      
      * style
      300bfc70
  7. 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
  8. 06 Mar, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/r15catchup (#2567) · 94ce950b
      Scott Cyphers authored
      * Fix bug introduced by #2238 on r0.15 (#2515)
      
      * Fix bug introduced by #2238
      
      * style
      
      * Avijit/add diag 4 distributed debugging (#2523)
      
      * Fix bug introduced by #2238
      
      * Added a debug logging macro: NGRAPH_DIST_DEBUG which prints the timestamp and MPI rank for distributed AllReduceops
      
      * Fixed code formatting.
      
      * Moved the logging implementation to log.cpp
      
      * Fixed clang warning
      
      * Don't use namespace in header
      
      * Fix ifdef
      
      * disable warning
      
      * Fix files that had missing headers (#2539) (#2541)
      
      * Update mkl-dnn to v0.18. (#2543)
      
      * Update mkl-dnn to v0.18.
      
      * Update mkl-dnn patch file.
      
      * Fixed Centos build issues (gcc 4.8.5 doesn't implement std::put_time - hence the issue). Also fixed a logical error in the distributed setup for unit tests (#2545)
      
      * Migrate Klocwork issues (#2557)
      
      * Migrate Klocwork fixes
      
      * change to kick off another build
      
      * Fix crash by correcting index (#2561)
      
      * Update build script to fix Windows build issues and add some work tow… (#2531)
      
      * Update build script to fix Windows build issues and add some work towards making codegen work on Windows.
      
      * Use "git apply" instead of "patch". (#2532)
      
      Enable using pre-installed MKLDNN on Window.
      
      * Remove commented out lines.
      94ce950b
  9. 16 Feb, 2019 1 commit
  10. 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
  11. 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
  12. 03 Jan, 2019 1 commit
  13. 05 Oct, 2018 1 commit
  14. 24 Sep, 2018 1 commit
  15. 21 Sep, 2018 1 commit
  16. 29 Aug, 2018 1 commit
  17. 26 Jun, 2018 1 commit
  18. 13 Jun, 2018 1 commit
  19. 04 Jun, 2018 1 commit
    • Robert Kimball's avatar
      Modernize cmake usage (#1032) · eef750df
      Robert Kimball authored
      * Update cmake files to more modern approach
      
      * disable building libraries that are not required
      
      * handle more build cases
      
      * add versions to backend libs. add start of package target.
      
      * add create_backend to backends
      
      * temporary workaround to tbb not linking correctly with gcc
      
      * install codegen lib
      
      * force tbb to link to the cpu backend so that it is available for codegen
      
      * fix clang build error
      
      * fix warning for codegen build
      
      * update cuda header paths
      
      * change error message for opening backend shared library
      
      * set lib path
      eef750df
  20. 28 Mar, 2018 1 commit
  21. 28 Feb, 2018 1 commit
  22. 26 Feb, 2018 1 commit
  23. 14 Feb, 2018 2 commits
  24. 12 Feb, 2018 1 commit
  25. 09 Feb, 2018 1 commit
  26. 08 Feb, 2018 1 commit
  27. 05 Feb, 2018 1 commit
    • Adam Procter's avatar
      Compatibility fixes for gcc-4.8.5 and CentOS-7.4 (#444) · 8bccef1a
      Adam Procter authored
      (Squashing this commit but going to leave the full log here, unlike the way I usually do things)
      
      * Incremental work on compatibility with system requirements
      
      * Lower cmake version requirement so we can work with CentOS 7.4
      
      * Disambiguate isnan call (CentOS's compiler doesn't like it)
      
      * Make external_tbb conditional on NGRAPH_CPU_ENABLE
      
      * Make MKLDNN inclusion conditional on NGRAPH_CPU_ENABLE
      
      * Roll back desperation change to Ubuntu 14.04 binaries
      
      * De-revert copyright date change (arrgh)
      
      * Revert change of TBB's hard-coded compiler choice to gcc
      
      * Cleanup of modified CMake stuff
      
      * Add broken support for building LLVM from source
      
      * Explain modification to json.hpp required compiler version
      
      * Make TBB optional, and on by default. To disable, cmake -DNGRAPH_TBB_ENABLE=FALSE
      
      * Add reasonable default for LLVM's CMAKE_ASM_COMPILER so users don't have to specify it
      
      * Force TBB disabled if CMake is too old to build it (for CentOS)
      
      * Build LLVM OpenMP as external project
      
      * Tweak LLVM build options
      
      * Minor comment edit in cmake scripts
      
      * Workaround (fix?) for codegen crashes on CentOS
      
      * Add some header paths for CentOS to resource_generator; temporary(?) tweak to ignore nonexistent paths
      
      * Remove CMake compatibility figleaf since LLVM will require 3.1+ anyway
      
      * Fix the TBB-enable flag to default to on
      
      * Remove hard-coded choice of clang as tbb compiler
      
      * ln -s -> ln -sf in command to create link for OpenMP source dir
      
      * Make OpenMP build so it doesn't require symlink
      
      * Allow use of prebuilt LLVM if requested at cmake time
      
      * Some INSTALL instructions
      
      * Allow NGRAPH_USE_PREBUILT_LLVM to be set in environment variable
      
      * Tweak CI cmake options to use prebuilt LLVM
      
      * Remove debug messages
      
      * Rework defaulting behavior for LLVM_TARBALL_URL and LLVM_SHA1_HASH
      
      * Remove warning message for unavailable header file directories
      8bccef1a
  28. 02 Feb, 2018 1 commit
  29. 01 Feb, 2018 1 commit
  30. 24 Jan, 2018 1 commit
  31. 28 Dec, 2017 2 commits
    • Jai Menon's avatar
      Move header resource to .rodata (#344) · 19a10d79
      Jai Menon authored
      This avoids bloating .data and clears the path
      for code model fixes later
      19a10d79
    • Jai Menon's avatar
      Build and execute TBB flow graphs in the CPU backend (#304) · c2c33748
      Jai Menon authored
      * CMake: TBB integration placeholder
      
      * CMake: Integrate TBB
      
      * CMake: Indent
      
      * CMake: Rewrite TBB integration
      
      * CMake: More TBB integration changes
      
      * CMake: Install TBB headers and DSOs
      
      * CMake: Don't install the TBB debug DSO
      
      * CMake: Propagate ngraph's configured compiler setting over to MKL-DNN
      
      * CMake: Restore TBB debug DSO installation
      
      * CMake: Add installed headers to search path.
      This needs to be cleaned up along with other header search cleanup
      
      * CPU: Build and execute TBB flowgraphs
      
      * CPU: TBB fixes
      
      * CPU: More TBB fixes
      
      * CPU: Allow both TBB and serial codegen for now
      
      * TBB: get_arguments -> get_input_ops
      
      * CPU: Use node methods
      
      * CPU: Add TBB headers in the build directory to the search path
      
      * TBB: Incorporate various changes from master
      
      * CMake: Indentation fix
      
      * CMake: Indentation fix
      
      * CMake: TBB is mandatory so remove additional predicates
      
      * TBB: Add a test
      
      * CMake: Fix linker flags with GCC
      c2c33748
  32. 26 Dec, 2017 1 commit