1. 10 Jan, 2020 1 commit
  2. 08 Jan, 2020 1 commit
  3. 01 Jan, 2020 1 commit
  4. 17 Dec, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Improve lit test config files and tools (#4010) · 6e38579b
      Diego Caballero authored
      This PR fixes some of the inconveniences that we had with lit in nGraph
      and aligns configuration files with MLIR/LLVM.
      In particular:
        - `make install` is not needed to run lit test with the latest
          compiled version of testing tools (ngraph-opt).
        - LD_LIBRARY_PATH doesn't need to be modified.
      6e38579b
  5. 28 Sep, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Enable nGraph dialect in ngraph-opt (#3657) · 9db8f874
      Diego Caballero authored
      * [MLIR] Add support for parsing nGraph tensor type
      
      Initial commit that enables nGraph parsing. It's needed for testing.
      
      * [MLIR] Enable nGraph dialect in ngraph-opt
      
      This PR registers nGraph dialect in ngraph-opt and prepares
      nGraph lowering pass for LIT testing, fixing all the related issues.
      Among other things, lowering pass has to be turned into a function pass,
      dead argument in constructor was removed and `convert-ngraph-to-affine`
      flag was added.
      
      * Fix issue with function name and multiple functions
      
      * Extend module_function.mlir lit test
      
      * Improve module_function.mlir test
      
      Remove ngraph to affine dialect conversion since we just need to verify
      that we can parse and print modules and functions.
      Add verification for parsing the printed code.
      
      * [MLIR] Add support for parsing nGraph element types (#3665)
      
      * [MLIR] Add support for parsing nGraph element types
      
      It introduces initial support for parsing nGraph signed/unsigned
      integer and floating point data types.
      
      * Improve LIT tests
      
      Test parsing and printing of types separately from lowering to affine
      since these tests will evolve differently, particularly for tensor
      types.
      
      * Missed file
      
      I left this file behind in the previous commit
      9db8f874
  6. 10 Sep, 2019 1 commit
    • Diego Caballero's avatar
      [MLIR] Introduce ngraph-opt tool (#3560) · f159e196
      Diego Caballero authored
      * [MLIR] Enable LIT testing in CMAKE
      
      This PR enables LIT testing in nGraph for MLIR Compiler, introduced in
      PR3523. We can now do `make check-mlir-lit` to run LIT tests.
      
      * Address feedback
      
      * Revisit PR after cmake clean-up
      
      * [MLIR] Introduce ngraph-opt tool
      
      To be used, among other things, for LIT testing.
      `elementwise_binary_ops.mlir` shows a simple LIT test
      using ngraph-opt.
      
      Dummy affine_lowering/lit_test.mlir test that served as initial testing
      of LIT tool configuration is now removed.
      
      * Address feedback
      f159e196
  7. 02 Jun, 2019 1 commit
  8. 31 May, 2019 1 commit
    • Sang Ik Lee's avatar
      Cleanup how compile flags are set and used by nGraph and external projects. (#2942) · 08dcd01b
      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.
      08dcd01b
  9. 03 Jan, 2019 1 commit
  10. 17 Aug, 2018 1 commit
    • Jayaram Bobba's avatar
      Enable DEX only build of ngraph (#1424) · 64ac3775
      Jayaram Bobba authored
      * Optionally get rid of codegen from the CPU backend
      
      * Rename option variable
      
      * Merge fixes
      
      * Merge
      
      * Remove extra changes
      
      * remove dex only exclusions (#1429)
      
      * Unconditionally pick  m_direct_execution if NGRAPH_DEX_ONLY
      
      * Style fix
      64ac3775
  11. 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
  12. 26 Apr, 2018 1 commit
  13. 15 Feb, 2018 1 commit
  14. 09 Feb, 2018 1 commit
  15. 08 Feb, 2018 1 commit
  16. 26 Dec, 2017 1 commit
  17. 25 Nov, 2017 1 commit
    • Robert Kimball's avatar
      Bob/includes (#266) · 51dcfe07
      Robert Kimball authored
      * add json lib 2.1.1
      
      * turn off clang-format for json lib
      
      * add unit test file
      
      * add code to poison the use of ngraph.hpp from within the ngraph library
      51dcfe07
  18. 20 Sep, 2017 2 commits
  19. 19 Sep, 2017 1 commit
  20. 16 Sep, 2017 1 commit
    • Bob Kimball's avatar
      add liveness pass · d3f3bb1b
      Bob Kimball authored
      add naming of tensors and tensor views
      add visualization pass
      add graph dump pass
      d3f3bb1b
  21. 15 Sep, 2017 1 commit
  22. 14 Sep, 2017 1 commit
  23. 13 Sep, 2017 2 commits
  24. 11 Sep, 2017 1 commit
  25. 10 Sep, 2017 1 commit
    • Robert Kimball's avatar
      add pass skeletons · ae48ed32
      Robert Kimball authored
      add test framework
      
      stuff wired up
      
      benchmark segfault for 5M nodes. fun
      
      make traverse_nodes not recursive
      
      print timings on benchmark
      
      unit test for pass manager
      ae48ed32
  26. 08 Sep, 2017 1 commit
    • Scott Cyphers's avatar
      Add input/output tensor information to nodes. · 7a00e125
      Scott Cyphers authored
      All tuples are expanded out to their component tensors.
      
      Output: Describes one tensor output of an node
      Input: Described one tensor input to a node, including the output supplying the value.
      7a00e125
  27. 06 Sep, 2017 2 commits
  28. 05 Sep, 2017 1 commit
    • Avijit's avatar
      Avijit/ngraph cpp integration 2 (#81) · 3c815ee4
      Avijit authored
      * Cleaned up the CMakeLists.txt to properly do the include paths and fixed the install targets.
      Also cleaned up the header files located in sub directories.
      * Added a simple C++ example with Makefile.
      * UPdated the readme with TF usage instructions.
      3c815ee4
  29. 31 Aug, 2017 1 commit
  30. 30 Aug, 2017 4 commits
  31. 29 Aug, 2017 1 commit
  32. 23 Aug, 2017 1 commit
  33. 22 Aug, 2017 2 commits