Commit Graph

116 Commits

Author SHA1 Message Date
Ilya Lavrenov
02e7706776 Merged ngraph & core components (#9101) 2021-12-09 15:38:44 +03:00
Ilya Lavrenov
e0ae61b06d Added optional for exclude_from_all targets (#9100) 2021-12-09 08:51:21 +03:00
Evgeny Talanin
fb103e1dd0 Revert "Revert "disable debug postfix on mac (#6827)" (#8974)" (#9000)
This reverts commit e81e60b233.
2021-12-03 13:03:17 +03:00
Ilya Lavrenov
e81e60b233 Revert "disable debug postfix on mac (#6827)" (#8974)
This reverts commit 6f23458534.
2021-12-02 12:30:01 +03:00
Alexander Sesorov
4b8d6c59e3 Update sanitizer flags for windows (#8830) 2021-12-02 01:33:34 +03:00
Ilya Lavrenov
c02fe4b813 Static OpenVINO frontends (#8868)
* Static OpenVINO frontends

* ONNX tests with shared extension CustomOpUser_ONNXImporter

* Resolved issues with ONNX's NCC style check

* Reverted openvino => ngraph for frontend includes install

* Try to fix ONNX / Protobuf

* Try to fix CI

* Try

* Fixed cmake stage with BUILD_SHARED_LIBS

* Fixed export for linkable frontends

* Fixed warnings on Linux

* Fixed after ngraph => src
2021-11-28 21:36:24 +03:00
Ilya Churaev
77f6a0076b Move core components (#8869)
* Moved openvino to src

* Moved ngraph and frontends to src

* Fixed cmake generation

* Moved inference_engine libs to src

* Moved C API to src

* Fixed CMake generation

* Moved readers to tests, snippets and preprocessing to common

* Fixed CMake

* Moved transformations and lp_transformations

* Fixed transformations cmake

* Fixed build

* Fixed unit-tests and ci paths

* Fixed docs

* Fixed C API build

* Try to fix static build

* More clear order

* Renamed inference_engine_legacy_api to legacy

* Fixed some cmake scripts

* Fixed path to legacy

* Fixed Myriad plugin

* Fixed v7 reader

* Fixed plugin.hpp

* Fixed developer config

* Fixed ie_parallel
2021-11-27 18:53:12 +03:00
Ilya Lavrenov
5719192687 Use ninja multi-config (#8757)
* Use ninja multu-config

* Reused OV_GENERATOR_MULTI_CONFIG

* Try to use config in api_validator post build task

* Fixes

* Revert "[GPU] Fix multi configuration build of onednn_gpu (#8743)"

This reverts commit a862331732.

* Propogate disable deprecated for _RELEASE flags as well
2021-11-27 14:58:24 +03:00
Anton Pankratov
bd3e4fbe78 Added openvino any (#8288) 2021-11-26 12:23:25 +03:00
Ilya Churaev
725793e179 Removed temp from inference-engine folder, added OV_TEMP cmake option (#8667)
* Removed temp from inference-engine foldee, added OV_TEMP cmake option

* Fixed CI

* Fixed copy-past
2021-11-24 08:37:26 +03:00
Andrey Somsikov
e19a6dc57d Remove clang incompatible flag (#8771) 2021-11-24 02:03:38 +03:00
Ilya Lavrenov
543ca4f318 Enabled proper OpenVINOConfig.cmake generation for static build (#8634)
* Enabled PDPD, TF on Windows

* Try to build samples against static libs

* Fixes

* Fixes

* fix

* Used ENABLE_GAPI_PREPROCESSING in C API tests

* Revert "Used ENABLE_GAPI_PREPROCESSING in C API tests"

This reverts commit df9d53e3cc.

* Fixes

* Revert exclude

* Enabled proper OpenVINOConfig.cmake generation

* Try

* Try
2021-11-20 02:27:43 +03:00
Mikhail Nosov
2245ea8be2 [FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)
* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
2021-11-18 09:26:13 +03:00
Ilya Lavrenov
51b9dff1bc Windows static (#8578)
* Enable LTO for oneDNN GPU

* Use importer target for onednn_gpu

* Fixed install of OpenCL, ittapi

* Try to enable samples build

* Fixed ie_wheel build

* Disabled samples

* Fixed incorrect install of pugixml in dynamic build

* Fixed clDNN_unit_tests64 link

* Minimized a number of hardcoded paths

* Switched off ITT

* Disable TBBBind for static Windows

* Fixed link on Windows

* Fixes

* Static build for Window

* Disable unit-tests

* Disabled TF

* Fixed add dependency for PDPD unit tests

* Disabled GNA

* Enabled ngraph test utils

* Fixes

* Fixes

* Disable clDNN for static build on Windows

* Dynamic MCVS runtime for OpenCL

* Disable ITT traces for static libs

* Ability to switch TBBBind_2_5 OFF

* Disabled GPU on Windows build

* Fixed libGNA link

* Disabled some GNA tests

* Fixed multiple definitions issue

* Hide FrontEnd::load in DLL

* Install libGNAStubs

* Trying to fix Windows

* Trying to fix frontends

* Passed compilation on Windows

* Updated install rules for ngraph backends

* Try CPU, TEMPLATE tests

* Enabled unit-tests

* Enabled ngraph tests

* Try to fix unit-test

* Fixed unit-test on Linux

* Fixed compilation with ENABLE_IR_V7_READER=OFF

* Fixed tests on Linux

* Enable cpuFuncTests only in static build

* Try to fix testMockPluginFrontEnd test

* Try to enable TF

* Fixed python tests

* Partial revert

* Removed OV_FRONTEND_PATH
2021-11-17 01:22:04 +03:00
Ilya Lavrenov
9676e643cf Fixed ie_mark_target_as_cc (#8608) 2021-11-16 06:48:02 +03:00
Ilya Lavrenov
8cb17ca218 Enable GPU in static build w/o oneDNN (#8563)
* Enable LTO for oneDNN GPU

* Use importer target for onednn_gpu

* Fixed install of OpenCL, ittapi

* Try to enable samples build

* Fixed ie_wheel build

* Disabled samples

* Fixed incorrect install of pugixml in dynamic build
2021-11-15 13:44:11 +03:00
Ilya Lavrenov
e57a455b92 Added support of external modules in static build (#8518)
* Added support of external modules in static build

* Enable template plugin static run; disabled CPU tests run in dynamic build

* Make FEM library dynamic

* Fixed static build

* clang-format

* Fixed targets

* Python tests fix

* Fixed python API tests skip

* Fixed pattern

* Fixed pattern 2

* Don't run template plugin tests in static build
2021-11-12 08:56:57 +03:00
Ilya Lavrenov
461f746430 Install rules for static libraries case (#8384)
* Proper cmake install for static libraries case

* Added an ability to skip template plugin

* Added install rules for VPU / GPU

* Install more libraries

* Fixed absolute TBB include paths

* Disable GNA

* Fixed issue with linker

* Some fixes

* Fixed linkage issues in tests

* Disabled some tests

* Updated CI pipelines

* Fixed Windows linkage

* Fixed custom_opset test for static casr

* Fixed CVS-70313

* Continue on error

* Fixed clanf-format

* Try to fix Windows linker

* Fixed compilation

* Disable samples

* Fixed samples build with THREADING=SEQ

* Fixed link error on Windows

* Fixed ieFuncTests

* Added static Azure CI

* Revert "Fixed link error on Windows"

This reverts commit 78cca36fd2.

* Merge static and dynamic linux pipelines

* Fixed Azure
2021-11-10 18:25:51 +03:00
Andrey Somsikov
24aec7928c Fix fuzz test failure (#8380)
Fuzz test execution fails with:
import_pdpd-fuzzer: symbol lookup error: runtime/lib/intel64/libngraph.so: undefined symbol:
__sancov_lowest_stack
2021-11-03 10:35:19 +03:00
Ilya Lavrenov
384eea4eda Static version: plugin registration as extension (#8365)
* Load CPU plugin as extension as well

* Fixed linkage issues

* Added static linux build

* Disabled GPU
2021-11-02 16:07:45 +03:00
Ilya Lavrenov
b82cc125fa Support of oneTBB via env TBBROOT (#8327) 2021-11-01 13:43:48 +03:00
Ilya Churaev
4122ef50d6 Introduce OV Extension base api (#7562)
* Moved so loader to utils

* Fixed extension tests

* Fixed tests and style

* Fixed style and tests

* Fixed ARM build

* Fix windows

* Fix ieFuncTests

* Wrap runtime exception

* Fixed tests

* Added separate new extension

* Fixed unicode extension loading

* Try to fix windows

* Fixed windows

* Fixed macro

* Fixed doc

* Fixed build

* Fixed comments

* Try to fix build

* Fixed build

* Fixed build

* Fixed shared_from_this

* Temp commit

* Changed extension

* Fixed merge conflicts

* Removed ngraph namespace from new extensions

* Fixed code style

* Added core add_extension methods and tests

* Added new tests

* Implement tile operation

* Enabled new extensions support

* Fixed build

* Fixed code style

* Try to fix windows

* Changed base extension class

* Removed redundant Ptr

* Fixed comments

* Fixed friend decl

* Fixed Windows export

* Fixed centos

* Added template add_extension method

* Move destructor to public

* Removed BaseExtension class

* Added variadic add_extension methods

* Fixed doc and typo

* Added BaseOpDestructor

* Allow to create new extension only for new operations

* Revert tests

* Fixed comments

* Fixed comments

* Fixed comment

* Added SO Extension wrapper
2021-11-01 10:36:30 +03:00
Ilya Lavrenov
661d436325 Static plugins: preprocessing and AUTO (#8265)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Preprocessing library

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixed preprocessing plugin build

* Windows fix #2

* Fixed linkage for preprocessing

* Proprocessing linkage

* Fixes for Windows

* Added optimizing libker flags to executables as well

* Fixed creation of global ov::Core

* AUTO plugin is static

* Fixed case of build+_shared_libs

* Removed some global variables from ngraph

* Fixes

* Fixed link issue on Windows

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-30 22:08:44 +03:00
Ilya Lavrenov
8fb699a42c Static compilation for inference plugins (#8197)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixes for Windows

* Fixes

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-28 11:33:56 +03:00
Ilya Lavrenov
4f203b9a2e Fixed ENABLE_NCC_STYLE condition (#8092) 2021-10-20 09:01:59 +03:00
Ilya Lavrenov
00be1d5a15 Fixed byteSize for Blob / ov::Tensor (#7989) 2021-10-19 02:01:10 +03:00
Anton Pankratv
5b176f28cc Added remote objects type check (#7606) 2021-10-14 11:32:19 +03:00
Ilya Lavrenov
acb6aa01ab Added reporting of unresolved symbols for plugins (#7810)
* Added reporting of unresolved symbols for plugins

* Added HDDL dependency

* Removed cross-compilation if

* Revert "Removed cross-compilation if"

This reverts commit da644a3afe.
2021-10-05 04:26:01 +03:00
Ilya Lavrenov
476fbee00f Reference template plugin tests to OpenVINO 2.0 (#7685) 2021-09-28 10:46:03 +03:00
Ilya Lavrenov
84a07889f0 Added version information to OpenVINO Core (#7600)
* Added version information to OpenVINO Core

* Fixed code style

* Fixed Windows

* Fixed code style

* Fixed clang
2021-09-23 17:03:45 +03:00
Ilya Lavrenov
7938c18b7c Improved openvino runtime python wheel build (#7604)
* Proper dependencies for ie_wheel

* Used version information when building wheels
2021-09-23 10:41:57 +03:00
Ilya Lavrenov
bd29f64570 Build IR FE with plugins (#7593)
* Build IR FE with plugins

* Add paddlepaddle
2021-09-23 10:41:33 +03:00
Ilya Lavrenov
538d492a70 Removed dependencies scripts (#7569) 2021-09-22 12:17:41 +03:00
Ilya Lavrenov
0df7dab345 New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Ilya Lavrenov
005e7da325 Removed auto plugin (#7310)
* Try to remove auto plugin

* Auto is registered as MULTI

* Register MultiDevicePlugin as AUTO

* More explicit config
2021-09-03 22:01:18 +03:00
Mateusz Bencer
0e521a1e22 Use ONNX Frontend instead of ONNX Reader (#7031)
* added get_name

* add support to supported_impl

* remove debug code

* review remarks

* changed name to onnx_experimental

* fixed test

* revert onnx_experimental name

* integrate reader and fe api

* add unit tests

* removed prototxt from model_validator

* reader refactor

* add supress

* Update inference-engine/src/readers/onnx_reader/ie_onnx_reader.cpp

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* fix segfaults

* removed onnx reader

* handle istringstream

* wstring support

* removed saving path

* styles applied

* changed name to onnx experimental

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* skip onnx_experimental frontend in mo.py

* add support of wstring paths

* fix wstring ctor of InputModelONNX

* added NGRAPH_SUPPRESS

* make one instance of manager

* change onnx_experimental name to onnx

* creation frontend manager refactor

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-26 11:50:53 +03:00
Anton Pankratv
6750b8c336 Created Remote context c++ API (#7114) 2021-08-25 18:16:41 +03:00
Ilya Churaev
af8dc644a8 Enabled NCC for enums (#7038)
* Enabled NCC for enums

* Fixed enum values

* Marked lower case enum as deprecated

* Fixed deprecated enums

* Disable deprecation for Windows and GCC < 6

* Try to fix build
2021-08-13 09:16:47 +03:00
Ilya Churaev
565627a416 Add ov::runtime::Core (#6946) 2021-08-10 07:49:37 +03:00
Ilya Lavrenov
6a63cb9122 Enabled naming style check for FEM, ONNX FE (#6970)
* Enabled naming style check for FEM, ONNX FE

* Used custom version of ncc

* Added self-check

* Removed submdoule

* Moved to public ncc
2021-08-09 15:38:08 +03:00
Ilya Lavrenov
5d781afe73 Naming convention tool integration (#6967)
* Fixed cycle dependency

* Added NCC infra

* Add submodule

* Added substitution for clang lib

* target depends on target_ncc_check

* Try find_package(Clang QUIET)

* Added github actions

* Try U18 + clang9

* Fixed nnc

* Updated style

* Works for clang-9

* Works for clang-7

* Fixes
2021-08-07 09:55:45 +03:00
Ilya Churaev
fc39303677 Moved IE public headers to IE library (#6941)
* Moved IE public headers to IE library

* Fixed documentation

* Fixed fast build

* Fixed doc
2021-08-06 10:05:51 +03:00
Alexey Lebedev
6f23458534 disable debug postfix on mac (#6827)
Co-authored-by: Your Name <you@example.com>
2021-08-04 10:45:41 +03:00
Ilya Lavrenov
b9b0a8b34a Fixed compilation with clang (#6917) 2021-08-04 09:28:20 +03:00
Ilya Churaev
8a612fa55e Moved current IE API to separate folder (#6735)
* Moved current IE API to separate folder

* Fix install

* Fix documentation

* Fixed install path

* Try to fix CI

* Changed installation path

* Use ONNXRuntime rel-1.8.1 version
2021-08-03 12:24:05 +03:00
Ilya Lavrenov
eabec388e2 Enabled LTO for ONNX FE (#6878)
* Fixed Windows public precommit

* ONNX LTO
2021-08-02 13:48:33 +03:00
Ilya Lavrenov
c38f08b777 Use protobuf-lite for ONNX FE by default (#6829) 2021-07-31 17:21:35 +03:00
Ilya Lavrenov
518ec79cb0 Updated samples compile options (#6818)
* Don't warn about obsolete cmake usage

* Removed build flags for samples

* Fixed ngraph with -Wpedantic

* cmake for 3rdparty
2021-07-30 13:54:09 +03:00
Andrey Somsikov
d498653d1f Fix clang sanitizer build (#6853) 2021-07-29 15:45:27 +03:00
Mikhail Nosov
5d3ab3108f Paddlepaddle unit tests CI fixes (#6820)
Win+Lin: add "clean build dir" step to ensure generated test models are taken from install
Windows fix: execute "pip show" on same drive where python is installed
Windows: execute tests with FE_TEST_MODELS env variable
2021-07-28 17:34:30 +03:00