1. 25 Oct, 2019 1 commit
  2. 09 Oct, 2019 2 commits
  3. 08 Oct, 2019 1 commit
    • Scott Cyphers's avatar
      Cyphers/lastwarns (#3640) (#3673) · b7d8c78b
      Scott Cyphers authored
      * Cyphers/lastwarns (#3640)
      
      * Build changes for -Wall
      
      * Use properties
      
      * Remove no-zero-as-null-pointer-constant
      
      * add ##__VAR_ARGS__ workaround
      
      * enable gnu-zero-variadic-macro-arguments warning
      
      * fix gnu-zero-variadic-macro-arguments
      
      * use PrintToDummyParamName
      
      * remove ##__VA_ARGS__ workaround
      
      * fix ##__VA_ARGS__ and enable gnu-zero-variadic-macro-arguments
      
      * handle windows build
      
      * use alternative fix to support VS compiler
      
      * fix merge issue
      
      * remove variadic macros from kernel_selectors
      
      * replace remaining ##__VA_ARGS__
      
      * fix missing braces
      
      * Remove some clang warnings
      
      * Warnings cleanup
      b7d8c78b
  4. 04 Oct, 2019 1 commit
  5. 24 Sep, 2019 1 commit
  6. 19 Sep, 2019 1 commit
  7. 13 Sep, 2019 1 commit
  8. 12 Sep, 2019 1 commit
  9. 10 Sep, 2019 2 commits
  10. 05 Sep, 2019 1 commit
    • Amy Zhuang's avatar
      Use mkl-dnn v1.0 or v0.x depending on compilation flag. (#3227) · e26d602a
      Amy Zhuang authored
      * Use mkl-dnn v1.0 or v0.x depending on compilation flag.
      
      * Change cpu builder files.
      
      * Modify cmake files.
      
      Use mkldnn-v1.0 for DEX if NGRAPH_USE_MKLDNN_V1 is set to true, otherwise use mkldnn-v0.x.
      
      CODEGEN only builds with mkldnn-v1.0.
      
      * Implement mkldnn utility functions for mkldnn-v1.0.
      
      User mode scratchpad management for mkldnn-v1.0.
      
      * Query scratchpad size and allocate a buffer of max scratchpad size.
      
      * Do not create mkldnn::memory when query scratchpad size of Reorder.
      
      Modify mkldnn utility functions.
      
      Fix convolution_forward_init and inner_product_forward_init.
      
      Modify CPURuntimeContextCG.
      
      * Add user mode scratchpad to CODEGEN.
      
      * mkldnn-v1.0 splits LSTM states. Update Rnn/Lstm Op accordingly.
      
      * Address PR feedback: use MKLDNN_MAJOR_VERSION.
      
      * Modify cpu rnn fusion pass and related unit tests.
      
      * Change Rnn/Lstm arg types to Output.
      
      * Fix Lstm for CODEGEN.
      
      * Set native layout for Slice when input format is blocked.
      
      * Do not print scratchpad size.
      
      * Change external_mkldnn_v1.cmake.
      
      Fix a typo.
      
      * Add mkldnn_v1.patch for mkldnn-v1.0.
      
      * Address PR feedback.
      
      * Define MKLDNN_ERROR_MESSAGE.
      
      * Address PR feedback: change to NGRAPH_USE_LEGACY_MKLDNN.
      
      * Fix a bug.
      
      * Remove unused variable.
      
      * Fix compiler warnings.
      
      * Fix a bug for CODEGEN.
      
      * Move variable only needed for mkldnn-v0.20 inside #if.
      
      * Remove unused variables.
      
      * No in place Reshape rotation for blocked data layout with mkldnn-v1.0.
      
      * Modify mkldnn_v1.patch to force mkldnn to link to libiomp.
      
      * Fix style.
      
      * Change path for find_library and find_file.
      
      * Do not insert ConvertLayout before/after Quantize/DeQuantize for blocked data layout.
      
      * Write strides information to visualized graph.
      
      * Move variables only needed for mkldnn-v0 under #if.
      
      * Move more variables in rnn fusion.
      
      * Fix ConvertLayout constant folding for mkldnn-v1.0.
      e26d602a
  11. 04 Sep, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Clean up MLIR related CMake files (#3541) · f6425cbd
      Diego Caballero authored
      * [MLIR] Move MLIR compiler files to contrib/mlir/compiler
      
      We'll add contrib/mlir/tools directory in subsequent PRs for ngrpah-opt
      and other tools.
      
      * [MLIR] Clean up MLIR related CMake files
      
      This PR prepares the introduction of src/contrib/mlir/tools and LIT testing by
      refactoring and cleaning up the common part with src/contrib/mlir/compiler:
      
      - Common code for src/contrib/mlir/tools and src/contrib/mlir/compiler is
      moved to src/contrib/mlir/CMakeList.txt.
      - More generic code, common for src/contrib/mlir/* and LIT configuration
      files, is moved to cmake/external_mlir.cmake with pre-existing similar code.
      - Redundant environment var LLVM_DIR is removed in favor of LLVM_CMAKE_PATH.
      - Redundant cmake messages are removed.
      
      * Replacing LLVM_CMAKE_PATH with LLVM_DIR
      f6425cbd
  12. 03 Sep, 2019 1 commit
  13. 30 Aug, 2019 1 commit
  14. 28 Aug, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Add config files for LIT testing (#3523) · d8fbe52b
      Diego Caballero authored
      * [MLIR] Add config files for LIT
      
      LIT is the LLVM testing tool that is used in LLVM and MLIR. It's
      necessary to enable all the MLIR testing in nGraph. This will provide
      a complementary finer grain level of testing than the one currently done
      with gtest. LIT will allow testing each MLIR-based nGraph transformation
      without having to run the whole nGraph pipeline. For example, we will be
      able to write an nGraph dialect input, invoke an single MLIR transformation
      on it and check that the output is the expected.
      
      This PR adds the basic configuration files to enable LIT tool
      in nGraph for MLIR Compiler. `affine_lowering/lit_test.mlir` is a
      dummy test to exercise the new testing feature. Lit testing will be
      enabled in CMAKE in a subsequent PR.
      
      * Address feedback
      d8fbe52b
  15. 23 Aug, 2019 1 commit
    • Diego Caballero's avatar
      [mlir] Bump mlir repo 8/20/2019 (#3493) · 4fddf5ad
      Diego Caballero authored
      * [MLIR] Bump MLIR repo 8/20/2019
      
      MLIR_
      commit 0cdb20a6add19bc96c20dad28589a1e54e4d8469
      Author: Lei Zhang <antiagainst@google.com>
      Date:   Tue Aug 20 13:33:41 2019 -0700
      
          Add spv.specConstant and spv._reference_of
      
      LLVM:
      commit 3b9a27b6908040881dad394022f8c472c15c0784
      Author: Simon Pilgrim <llvm-dev@redking.me.uk>
      Date:   Tue Aug 20 17:54:37 2019 +0000
      
          Fix typo in comment. NFCI.
      
      * Address Bob's feedback
      4fddf5ad
  16. 21 Aug, 2019 1 commit
  17. 14 Aug, 2019 1 commit
  18. 12 Aug, 2019 1 commit
  19. 07 Aug, 2019 1 commit
  20. 30 Jul, 2019 2 commits
    • Diego Caballero's avatar
      [MLIR] Bump MLIR repo to commit 26c683c, 07/29/2019. (#3310) · 81597f3a
      Diego Caballero authored
      * [MLIR] Bump MLIR repo to commit 59167c2, 07/25/2019.
      
      MLIR commit:
      Author: River Riddle <riverriddle@google.com>
      Date:   Wed Jul 24 16:41:11 2019 -0700
      
          NFC: Use ValueOfRange instead of T in Diagnostic::appendRange.
      
              For iterator_range, T is often the name of another iterator type
              and not the the value of the range.
      
      LLVM commit:
      Author: Marshall Clow <mclow.lists@gmail.com>
      Date:   Thu Jul 25 03:26:05 2019 +0000
      
          Implement change #4 of P1466: Change weekday to accept both 0 and 7
          as Sunday. Add accessors 'c_encoding' and 'iso_encoding' to provide
          different interpretations of the weekday. Remove 'operator unsigned'
      
      * style
      
      * Move MLIR/LLVM repos a bit more forward
      81597f3a
    • Sang Ik Lee's avatar
      NGCORE-526 · 8aaf2210
      Sang Ik Lee authored
      Add source release creation script.
      Read version from TAG if source is not a git repo.
      8aaf2210
  21. 25 Jul, 2019 1 commit
  22. 22 Jul, 2019 1 commit
  23. 19 Jul, 2019 1 commit
  24. 18 Jul, 2019 1 commit
  25. 17 Jul, 2019 2 commits
  26. 11 Jul, 2019 1 commit
  27. 01 Jul, 2019 2 commits
  28. 28 Jun, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Bump MLIR repo to commit 82d5084 Wed Jun 26. · 2ebe33f1
      Diego Caballero authored
      Improvements and changes in dialect conversion APIs. Type conversion
      and op rewriting are now a bit more independent mechanisms. Dialect
      conversion now requires a target object with the legal transformations
      to be applied. Legality checks to detect illegal operations after
      dialect conversion have been strengthened significantly.
      
      MLIR LLVM commit:
      commit 82d5084cf28bca7a0eebec283cdeae118dfa1d11 (HEAD)
      Author: Jacques Pienaar <jpienaar@google.com>
      Date:   Wed Jun 26 11:12:40 2019 -0700
      
          Split out TranslateClParser and add new parse method that reuses
          SourceMgr.
      
      MLIR commit:
      commit 82d5084cf28bca7a0eebec283cdeae118dfa1d11 (HEAD)
      Author: Jacques Pienaar <jpienaar@google.com>
      Date:   Wed Jun 26 11:12:40 2019 -0700
      
          Split out TranslateClParser and add new parse method that reuses
          SourceMgr.
      2ebe33f1
  29. 26 Jun, 2019 1 commit
  30. 21 Jun, 2019 1 commit
  31. 18 Jun, 2019 2 commits
  32. 14 Jun, 2019 1 commit
  33. 12 Jun, 2019 1 commit
  34. 10 Jun, 2019 1 commit