- 31 May, 2019 1 commit
-
-
Sang Ik Lee authored
* Cleanup how compile flags set and used by nGraph and external projects. Set C++11 through CMake and pass it down to external projects. Prefer CMake variables such as CMAKE_POSITION_INDEPENDENT_CODE and CMAKE_CXX_STANDARD instead of explicitly setting compiler dependent flags. Create json compilation database for external projects. CMAKE_CXX_FLAGS is used as common global options for nGraph and external projects. add_compile_options() is used for local options for current and sub directories. add_definitions() is used for setting definitions for current and sub directories. Note: Global options are not passed down to some external projects. Note: mkl-dnn resets CMAKE_CXX_FLAGS internally. Note: TBB and MLSL are not CMake based. Noet: Eigen and json is header only library. * Fix error. * Fix error. (second attempt) * Cleanup code. * Allow check for undefined macro. * Try to fix cldnn issue. * Set type for CMake arguments. * Pass C++ standard to protobuf. * Pass C++ standard down to TBB. * Change how Clang specific flags are handled. * Fix error. * Workaround for compile error on Baidu's PDPD docker. * Fix windows build error.
-
- 06 Mar, 2019 1 commit
-
-
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.
-
- 26 Feb, 2019 1 commit
-
-
Rob Earhart authored
* Add a direct-to-Tile op * Disable dequantize_dynamic_offset * Add missing Py op defn * Generic passthrough op; serialization * Appease Linux builds * Add gpu handlers * Disable floor_int32 for now
-
- 22 Feb, 2019 1 commit
-
-
Sang Ik Lee authored
-
- 19 Feb, 2019 1 commit
-
-
Sang Ik Lee authored
* Use git shallow clone if CMake >= 3.6. Remove BUILD_BYPRODUCTS. * Fix ONNX, protobuf integration.
-
- 04 Feb, 2019 1 commit
-
-
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
-
- 17 Jan, 2019 1 commit
-
-
Robert Kimball authored
* fix windows build * wip * mkldnn seems to build * address various errors building cpu backend with MSVC * wip * wip
-
- 03 Jan, 2019 1 commit
-
-
Robert Kimball authored
* update licenses for 2019 * style
-
- 28 Dec, 2018 1 commit
-
-
Sang Ik Lee authored
* Forward nGraph's C/C++ compiler, build type and generator information to cmake based external projects. * Fix typo. * Pass generator related info properly. * Googletest is using DEBUG_POSTFIX * TBB uses postfix for debug lib. * Fix typo.
-
- 23 Dec, 2018 1 commit
-
-
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
-
- 11 Dec, 2018 1 commit
-
-
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
-
- 09 Nov, 2018 1 commit
-
-
Robert Kimball authored
* fix gtest abi build * fix llvm build with abi flag * remove debug * add check for conflicting flags in cmake
-
- 07 Nov, 2018 1 commit
-
-
Robert Kimball authored
* address issues which surface with clang 6.0 * revert changes due to new clang warning and disable new warning
-
- 04 Jun, 2018 1 commit
-
-
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
-
- 16 Mar, 2018 1 commit
-
-
Robert Kimball authored
* Add flags for SDL-3 compliance * change check to support older versions of CMake
-
- 14 Feb, 2018 1 commit
-
-
Adam Procter authored
-
- 09 Feb, 2018 1 commit
-
-
Jennifer Myers authored
-
- 08 Feb, 2018 1 commit
-
-
Jennifer Myers authored
-
- 05 Feb, 2018 1 commit
-
-
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
-
- 08 Aug, 2017 1 commit
-
-
Christian Convey authored
-
- 07 Aug, 2017 1 commit
-
-
Christian Convey authored
-
- 25 Jul, 2017 1 commit
-
-
Robert Kimball authored
-