* Added deprecation of nv12 legacy API
* Added new files
* Change macros
* Suppress warnings for preprocessing
* Suppress warnings in tests
* Suppress warnings for Windows
* Add Core property to switch from `mmap` to `read`
in IR FrontEnd
* Add tests on `ov::enable_mmap` property
* Add `enable_mmap` in C & Py APIs
* ClangFormat
* [AUTO] Add ENABLE_STARTUP_FALLBACK and ENABLE_RUNTIME_FALLBACK properties to Python API
* Add DEVICE_BIND_BUFFER property
* Add AUTO properties to C API
* Update test case && Update AUTO properties in PYTHON API
* Create dedicated files for auto plugin
* Update header files
* Update test case
* Modify code style
* Update variable name
* Add test case for invalid input value
[MULTI] pass through to AUTO with CTPUT hint
After this change
-- MULTI doesn't support setting infer request via CPU(4),GPU(8).
-- MULTI doesn't support CompiledModel::set_property() and ExecutableNetwork::GetConfig().
* Enable MapAllocator in IR Frontend
* Fix `ov_infer_request_ppp` test
With `mmap()`ing of IR, .bin can't be deleted until unmapping.
And it shows that there was a leak in test
* Add comment to Win `CreateFile()` regarding
FILE_SHARE_DELETE
* Unmap .bin file before IR files deletion
Wait ov::Model deletion to trigger .bin file unmapping
before IR files deletion
* ClangFormat
* Add `use_map_allocator` switch in FE
In case of direct use of FE (e.g. via MO), `mmap()` is OFF.
But in case of use FE via Core, `mmap()` is ON.
* remove ... in /src/bindings/c and resolve format
* remove ... in auto and resolve format
* remove ... in auto batch and resolve format
* remove ... in hetero and resolve format
* IE exception
* IE exception
* const
* const
* resolve format and ov::Exception
* ov::Exception
* reset IE::Exception
* remove ov::Exception
* InferenceEngine->IE in auto_schedule.cpp
* fix coredump while runing test case smoke_AutoMultiMock_NumStreamsAndDefaultPerfHintToHWTest
* fix coredump issue of running LoadNetworkWithSecondaryConfigsMockTest
* fix commpile fail in CI
* resolve core dump of running exec_network_get_metrics.cpp and disable some test cases for KEEMBAY and MYRIAD in exec_network_get_metrics.cpp
* remove test cases of MYRIAD and resolve core dump of running KEEMBAYin exec_network_get_metrics.cpp
* resolve conflic of common.h
* resolve conflic of common.h
* resolve common.h complie fail
---------
Co-authored-by: guozhong <guozhong.wang@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
* Added -Wall for Clang and GCC
* Fixes
* Don't use /J
* Fixed warnings
* Fixed warnings
* More fixes
* Fixed for MSVC
* Fixed more warnings on Windows
* Suppressed some warnings in template plugin
* Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp
* Added suppression for PT FE
* Suppressed warnings in TF FE
* Suppressed warnings on Core unit tests
* Suppress warnings in python
* Suppressed Windows warning for 3rd party modules
* Suppresed one more warning
* [C API] remote tensor support
Provide C interface for remote context and remote tensor:
1. OCL and VA context and buffer support
2. unite test for remote context and remote tensor
Change-Id: I2c449aef21cbe928ca470b4e3bcf1e03a1d1ca43
* Fix clang issue
Change-Id: I83c9592d21ff9cb8aeb85148277d96db74b455c7
* [CAPI] Add ocl nv12 input inference test case
1. Add fully nv12(2 ocl remote tensor) as input plus preprocess do csc+resize, then do inference
2. Add get_device_name for remote tensor
3. Add test case for preprocess to set mem type
Change-Id: Ieaab50c8de20e5c7258697030672e0b010627a81
* Update documentation
Change-Id: Ia7dbaea48d38f5534aba60fbb25cd0a1f2f9eab0
* Remove debug code
Change-Id: Ic5c5a24d3c40bb258b7007dcea44594af2d92344
* Fix issues brought by rebase
Change-Id: I2520c5ccf3620349e202ea40c08bb1c437d5af88
* Resolve document issue
Change-Id: Ia14500f8623147f481dda286a0afaa8ecfffa7c9
* Resolve some comments
1. Add specific header file for gpu plugin
2. clang-format issue
3. interface compatible issue
Change-Id: Icc4723af071af30f0422ac9a107e57ddeec94aac
* fix clang issue
Change-Id: I46e1fed3dd9a4e51260b695dc3fb194b9571ed58
* Add gpu header file directory
Change-Id: I8c15d9da58a46c070dcc68530cb2beea8cd4bba9
* Remove HAVE_OCL_SUPPORT macro
Change-Id: I10093a99c1858649f1c5502248729704fcec34ef
* Address some comments
Change-Id: I72830288d063623641e8946c8470631e81fdeb34
* Printov:AnyMmap with the help of ov::Any
Change-Id: I8abd3a8d94ba8116974c59a489cda2af15f225d7
* [CAPI][UNITE TEST] 1) create plugin test xml file in runtime; 2) fix arm plugin test error;
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [CAPI] fix format issue
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [CAPI] change the time of Copyright
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
---------
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* Safe loading of default plugins
1. In case of default plugins.xml all plugins is registered by
absolute paths
2. In case of user API user is able to specify abs or rel path
or plugin name to be found in ENV
3. Update `ov::util::get_absolute_file_path()` in order to prevent
checking file exists or can be accessed
4. Add tests + delete duplicated tests
* Add `OV_CORE_CALL_STATEMENT` to `Core()` ctor
to convert InferenceEngine::Exception to
ov::Exception
* Add `ie_plugins.hpp` dependency to `ov_infer_unit_tests`
* Update C and Py docstrings
* Comment fix
* Update LD_LIB_PATH in openvino-onnx/Dockerfile
* Skip `test_register_plugin*` for Debian job
* [Test] Build doc for C API reperence
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [Test] Build doc for C API reperence add C path
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [Test] Build doc for C API reperence add C path
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [C API][DOC][DOXYGEN] refact the components of C API
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [DOC][API reference] remove useless code
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [C API][DOC] Modify format to generate api reference
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* [DOC][API reference] fix doc build error
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
* Update to the latest cmake for Windows
* Skip new warnings
* Added compiler flags for old cmake
* Disabled some warnings
* Suppress new warnings
* Fixed some errors
* Disable some warning for lpt
* Fix some warnings
* Disable new warnings
* Fix some warnings
* Disabled Was error for arm
* Fixed some errors
* Fixed some new warnings
* Fixed auto plugin
* Fixed Windows warning
* Fixed Windows
* Disable some warnings
* Some changes
* Small test fixes
* Fixed python build
* Added skip warnings for legacy python API
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400
Fixed warnings on local machine
* Added CMAKE_COMPILE_WARNING_AS_ERROR usage
* Fixed style
* Fixed merge conflicts
* Fixed typo
* Fixed myriad build for macOS
* Fixed warning
* Fixed tests
* Disabled incorrect test
* Try to fix linux tests
* Revert "Try to fix linux tests"
This reverts commit 29224c93ff.
* Fixed tests
* Revert logic with incorrect cast
* Fixed log softmax
* Disable warning as error for cuda
* Try to fix inference_engine_s
* Fixed cmake
* Revert "Fixed cmake"
This reverts commit 87e9e4e674.
* Revert "Try to fix inference_engine_s"
This reverts commit a1adca8b05.
* WA for static symbols in inference_engine_s test library
* Fixed code style
* Fixed static definition for master
* Revert "Fixed static definition for master"
This reverts commit 20d00d215a.
* Revert "Fixed code style"
This reverts commit 0eb2362543.
* Revert "WA for static symbols in inference_engine_s test library"
This reverts commit 75ef86a79d.
* Fixed linker issue for Windows
* Disable WaE by default
* Disable warning as error in the developer package
* Try to fix dev package
* Try to fix Windows Jenkins
* Revert old behavior for tread_warn_as_err variable
* Avoid duplicated code
Change-Id: I86fe59bab13010aedc62a2c92102b00e060ceeec
* Add more test cased for element type
Change-Id: I1f02254cee715d53ede0422c14a4732267d3db27
* Apply INSTANTIATE_TEST_SUITE_P for tensor element type test
Change-Id: I8bbeeb00ae872b7b286b5a776a5c2681e6b5ee94
* Fix some potential segmentfault in test cases
Change-Id: Ie12956e32805d950fa1eb82a1e49d532b26bc390
* Use OV_ASSERT_OK to replace OV_EXPECT_OK
Change-Id: I6780072cca4b4a6485105db4832ef3085c990df0
* Fix compile error
Change-Id: Ib4594093ddc60e504e45c6581410fa22d09bd9a6
* Update usage of ASSERT and EXCEPT
Change-Id: I7cb5d0bda4a60a2de899132c47fbf745bc760305
* Use EXPECT by default
Use EXPECT by default, unless you require something to hold for the remainder of the tests.
Change-Id: I2d2d8d8d9632e9e8742c4d923353d319e597a46a
* Avoid the issue of ov::hint::PerformanceMode::UNDEFINED
If convert ov::hint::PerformanceMode::UNDEFINED to string format, the string value is 0 (string_value=0, not "UNDEFINED")
We should avoid to copy this empty string.
Change-Id: I9d4a080b697a863762342f6f890d8ac7434e1864
* Unicode support
Change-Id: I6da095b0f0b86eb0fa9c44ddb41fa40f82fbded2
* Unicode support load compile model from file and add test cases
Change-Id: Ic66c2b9d5bc7da44db85772fc55abb9a699f4b7d
* Fix build error in Windows
Change-Id: I98c686f5bef17bef63ec6937035fac011224a790
* Fix compile error caused by rebase
Change-Id: I1457ba6bfd6743855bf55d77a2103a558548a8a0
* Fix refefinition issue in Windows
In windows it reports below error:
include\10.0.18362.0\um\winnt.h(1131): error C2365: 'BOOLEAN': redefinition; previous definition was 'enumerator'
openvino\src\bindings\c\include\openvino/c/ov_common.h(105): note: see declaration of 'BOOLEAN'
Change-Id: Ic84b7f0d6e3de5ba6c37af39533a3ca2f2d17ad8
* Link ov::util to call unicode code function
Change-Id: Ib324173524b8fe9b7f523fe6b838e155ffbe0842
* rename BL0 to be BOOLEAN
* Boolean should be 8bits data
* Solve some code style issues
Change-Id: I06c31ad9513463c758db96dbe33031983a8fd7a5
* Refine ov_dimension with C style structure
Use C style definition to replace opaque C++ handle:
1). Improve partial shape
2). Improve dimension/rank
3). Improve shape
Change-Id: I680fd3e76c63d0c06d9d8b07c67af0440fb15bb7
* Some minor update
Change-Id: I237490a765e6ecd6f3896b1bd75d5f962304f43b
* add partial_shape_is_dynamic and update doc
Change-Id: Ief358f27de8386e35485d08847c8243d1490157f
* Rename property and add basic test cases
Change-Id: Ifbed0bbf7a5e836d2cab186763d7e5f8f2cb7d44
* address reviewer's comments
Change-Id: I9a5d1ede6d086906f3777c3d29237986a505db52
* Fix compile error
Change-Id: I72267a8dda32dd8f43c1ea1522d07b392052358f
* Use ov_any_t to replace ov_property_value_t
Change-Id: Ia4062d0da0941c901990bf5f16497ae3c8f2eb0f
* update doc for ov_model
Change-Id: I80183394f16dd1e07ff998993e26f8b903f2402e
* Property key apply string variables replace enum variable
Change-Id: I0e1699862de3913ccdc06ded5b8f8ac5a2bf8773
* Fix compiling error in windows
Change-Id: I4f9c7c746e218db94491c5f4bc5aeda1b3fde62b
* Change init/deinit method to create/free, remove unnecessary methods
Change-Id: Ibc5de039da94e92db494583ab1ff1a63e0586c73
* Pass by value for single C structure data
Change-Id: I289eb56e2ba1ab90942c8c801c585ab0f792952f
* fix dllexport issue in windows
Change-Id: I1632375e5e651fdfa076cdab2d8d1c3e83986549
* Fix static build error
Change-Id: I6633fe4887edad0b3a8b7e10730fb9d36a6ac0cd
* Use pass by value for all transparent structure
Change-Id: I652f6e70b420ef7c5af5cff3f5d482911cf0d75a
* Unify parameter order in C APIs, input first and then output parameters
Change-Id: Ib89c77d81c314e3a81bfcec9917630abbc896f5e
* Rename preprocess api to be more readable
Change-Id: I0a8ecd005e73e4ba8e90a8f25bedf0739fe31836
* Simplfy property implement for set and get property
Change-Id: Icad41606368cef9520b1623f6207784c295f1b9f
* check string type property issue
Change-Id: Ie8ee6995dda401f1db0cc098e061ffcfd24de92a
* Fix memory leak
Change-Id: Ife8980736be320314eca6fb3f3605e019663e1da
* Check string property data
Change-Id: I542a136ff874cb345c67f7d3c1dbc74981a909df
* Fix issues caused by rebase
Change-Id: I3d675a16cf76980a6414e369a83464a46dec1e49
* Remove some redundant code
Change-Id: Iab6bf7f355ec7a7424d884e620319ed9db80ecf5
* Remove property type from interface
ov_core_set_property will have 2 cases:
1) enum type: <const char* property_key, ov_property_xxx_e property_value>
2) other: <const char* property_key, const char* property_value>
Change-Id: Id7dec1ac40948d45c4f8baee687652aee92ea75d
* Remove redundant code
Change-Id: I66865d3313e305b0109cb63bd049772a01c0688f
* Remove exception log and update propery size argument
Change-Id: Ia1a60c07c9adf08d175d94a7d5e4298adb27bf80
* Apply string for enum property
Change-Id: I591b1db453a52b5ea9000e0cc3e11edf0ef5f790
* Add test case for MULTI_DEVICE_PRIORITIES
Change-Id: I59e4307564a2560724b4dacdb83c3ed45ea1ce8d
* Fix test issues and add more negative test case
Change-Id: Ib849fb8c098e487a537c1b1ab881f5e905871f73
* Add ov_model_output_by tensor name and index function
* Fix the clang format issue
* clang format
* Add ov_output_node_t in input and shape function
* Add ov_oputput_node_t in model_output function
* Fix clang-format
* change ov_output_node_list_t to ov_output_const_node_list_t
* Add ov_output_node_list_t new struct
* Rename oputput_node to be port
* Rename output_node to be port in CAPI test and samples
* Add ov_model_output/outputs/input/inputs function and testcases
* Rename output_ports to ports
* Chage ov_node_list_get_element_type_by_index to ov_node_list_get_element_type
* Change ov_output_node to ov_output_port
* Delete node list and modify the function that used the node list structure before
* Fix clang-format in ov_infer_request_test.cpp
* change node to port in funcation name
* Rebase new master
* Add new API in compile model and model,such as get input/output size
* Add err info in hello_classification_c
* Fix clang-format in hello_classification_c
* Merge the new infer_request
* Initialize ov_output_const_port
* Change the location of initialization
Co-authored-by: River Li <river.li@intel.com>