Commit Graph
23 Commits
Author SHA1 Message Date
Haiqi PanandChen Peter e2e9d6056f add FailedAsyncInferWithNegativeTimeForWait test case (#21392)
* add FailedAsyncInferWithNegativeTimeForWait

* add getTestCaseName

* skip FailedAsyncInferWithNegativeTimeForWait in gna

* skip FailedAsyncInferWithNegativeTimeForWait in gna

* Update src/plugins/intel_gna/tests/functional/shared_tests_instances/skip_tests_config.cpp

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-12-13 12:20:04 +04:00
Haiqi PanandRiver Li ddc395b6cb API 2.0 infer request io blob test case (#20336)
* add failToSetUninitializedInputBlob, failToSetUninitializedOutputBlob and canInferWithGetOut

* FailedAsyncInferWithNegativeTimeForWait

* Revert "FailedAsyncInferWithNegativeTimeForWait"

This reverts commit 3b6780102f.

* Update src/tests/functional/plugin/shared/src/behavior/ov_infer_request/io_tensor.cpp

Co-authored-by: River Li <river.li@intel.com>

* Update src/tests/functional/plugin/shared/src/behavior/ov_infer_request/io_tensor.cpp

Co-authored-by: River Li <river.li@intel.com>

---------

Co-authored-by: River Li <river.li@intel.com>
2023-12-06 16:38:10 +04:00
Haiqi Pan 4d685194fe remove similar test cases (#21104) 2023-11-16 06:48:26 +00:00
79c9f4ad44 migrate executable_network test case to compiled_model (#19541)
* add get property test case

* add CanCreateTwoExeNetworksAndCheckFunction and pluginDoesNotChangeOriginalNetwork

* tmp

* add canSetInputPrecisionForNetwork and canSetOutputPrecisionForNetwork

* fix code style

* tmp

* Revert "tmp"

This reverts commit ff3f8d56d5.

* tmp

* add CanCompileModelWithEmptyProperties

* remove comment

* add infer request

* add CanLoadNetworkWithCustomLocale

* add CanLoadNetworkWithCustomLocale

* fix error

* remove case in io_tensor.cpp

* fix Unsupported metric key: OPTIMAL_BATCH_SIZE

* Update src/tests/functional/plugin/conformance/test_runner/api_conformance_runner/include/api_conformance_helpers.hpp

Co-authored-by: Chen Peter <peter.chen@intel.com>

* fix batch size

* remove useless code

* remove failed case CanCompileModelWithEmptyProperties, CanLoadNetworkWithCustomLocale and LoadNetworkWithBigDeviceIDThrows to test

* Revert "remove failed case CanCompileModelWithEmptyProperties, CanLoadNetworkWithCustomLocale and LoadNetworkWithBigDeviceIDThrows to test"

This reverts commit 1317d0773c.

* Revert "remove useless code"

This reverts commit b3dd0ffaab.

* Revert "fix batch size"

This reverts commit 2afd673cff.

* Revert "Update src/tests/functional/plugin/conformance/test_runner/api_conformance_runner/include/api_conformance_helpers.hpp"

This reverts commit 9d6030952f.

* Revert "fix Unsupported metric key: OPTIMAL_BATCH_SIZE"

This reverts commit 2de26547ea.

* try to add optimal_batch_size in cpu plugin

* return model when optimal_batch_size not found in apply_auto_batching

* revert cpu plugin

* gna cannot support some model

* update test case name

* skip CanCreateTwoCompiledModelsAndCheckRuntimeModel in gna

* Update src/inference/src/dev/core_impl.cpp

Co-authored-by: Chen Peter <peter.chen@intel.com>

* Update src/inference/src/dev/core_impl.cpp

Co-authored-by: Chen Peter <peter.chen@intel.com>

* replace deviceName.substr(pos + 1) with deviceNameWithoutBatch

* fix bug

* Update src/inference/src/dev/core_impl.cpp

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Update src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp

Co-authored-by: River Li <river.li@intel.com>

* Update src/tests/functional/plugin/shared/include/behavior/compiled_model/compiled_model_base.hpp

Co-authored-by: River Li <river.li@intel.com>

* Update src/plugins/intel_gna/tests/functional/shared_tests_instances/skip_tests_config.cpp

Co-authored-by: River Li <river.li@intel.com>

* Update src/plugins/intel_gna/tests/functional/shared_tests_instances/skip_tests_config.cpp

Co-authored-by: River Li <river.li@intel.com>

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: River Li <river.li@intel.com>
2023-11-15 13:27:42 +01:00
Haiqi PanandChen Peter 712586bd16 Add test case for ov_compiled_model_set_property (#17697)
* add set property case

* add set property case

* free key

* fix code style

* add test of get_property() for ov_property_key_auto_batch_timeout

* get_property first

* add device name

* device_name.c_str()

* reset name

* test set_property

* remove comment

* pass local

* get property first

* fix bug

* use device from GetParam

* fix char to string

* use     EXPECT_STREQ(target.c_str(), result);

* fix comment

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-08-16 11:07:26 +04:00
Haiqi Pan 63ac68e745 remove AutoBatching_Test_DetectionOutput (#18838) 2023-07-29 16:08:21 +04:00
c7431be401 Deprecate legacy C API (#18146)
* Deprecate legacy C API

* fix code sytle

* add INFERENCE_ENGINE_1_0_DEPRECATED in ie_c_api.h

* fix code style

* use OPENVINO_SUPPRESS_DEPRECATED

* reset ie_c_api.cpp

* fix code style

* fix code style

* fix definition

* fix code style

* change msg

* [[deprecated(msg)]]

* add cmake fun

* add deprecated message to INFERENCE_ENGINE_C_API

* remove deprecate msg in fun

* add msg

* fix code style

* fix code style

* add OPENVINO_SUPPRESS_DEPRECATED_END in c api test

* move head after OPENVINO_SUPPRESS_DEPRECATED_START

* move declaration to ie_c_api.h

* reset to OPENVINO_DEPRECATED

* reset to OPENVINO_DEPRECATED

* try to fix code style

* Revert "try to fix code style"

This reverts commit cc2b8476de.

* Revert "reset to OPENVINO_DEPRECATED"

This reverts commit 9d158c8163.

* Revert "reset to OPENVINO_DEPRECATED"

This reverts commit f8b2793abc.

* Update src/bindings/c/include/c_api/ie_c_api.h

Co-authored-by: Chen Peter <peter.chen@intel.com>

* Update src/bindings/c/tests/ie_c_api_test.cpp

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* remove noo error in CMakeLists

* remove macro

* ix code style

* change msg

* fix C4996

* add ov_deprecated_no_errors back

* add full msg

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-07-06 12:38:43 +04:00
Haiqi Pan 3c619d8339 ov_remote_context -> Remote Context (#18132) 2023-06-19 12:58:14 +04:00
Haiqi PanandChen Peter 3e63ab0dc3 Remove ov::core dependency after CPU CompiledModel constructed (#17156)
* fx repr

* remove isNewApi

* add cisLegacyApi

* remove isNewApi

* fix logic

* add test case

* remove comment

* fix bug

* add configuration

* skip in template

* skip failed case

* skip AUTO and MULTI to test

* resolve conflicts

* fix confilcts

* skip AUTO and MULTI to test

* template on

* Revert "template on"

This reverts commit d82a5a4964.

* get log

* add tmp core

* reset to test

* Revert "reset to test"

This reverts commit 7a39d4e24b.

* try to push

* use createCoreWithTemplate()

* remove AUTO and MULTI in skip_config

* Revert "remove AUTO and MULTI in skip_config"

This reverts commit d42420590f.

* fix confilcts

* fix conflicts

* remove AUTO and MULTI in skip config

* fix confilcts

* remove isLegacyAPI

* remove useless code

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-06-15 01:50:24 +04:00
Haiqi PanandChen Peter 2dd0b75529 [C API] some contents missed in doxygen (#17671)
* remove @param and separate line

* separate line of ov_remote_context_free

* fix code style

* Update src/bindings/c/include/openvino/c/ov_remote_context.h

Co-authored-by: Chen Peter <peter.chen@intel.com>

* add ...

* add ...

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-06-01 10:22:08 +08:00
Haiqi Pan 49b0c7248a AUTO_CAUSES_COPY in c bindings (#17391)
* change auto in for() to auto const &

* fix code style

* fix code style

* const&
2023-05-15 14:03:52 +04:00
Haiqi PanandIlya Lavrenov 5e98696464 Fix Windows build warnings in template and core tests (#15967)
* fix C4305

* 1.0f

* Element

* fix c4244

* fix truncation from double to float in grn.cpp

* Revert "fix truncation from double to float in grn.cpp"

This reverts commit 5263b37cb2.

* fix grn.cpp

* add 4305

* fix low

* add TearDown

* revert softmax.cpp

* pragram

* fix conflicts

* fix conflicts

* size_t -> ov::label_t

* WIN32

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-03-22 07:29:35 +04:00
Haiqi Pan 8307019380 fix benchmark_app python to support YES and NO values for -pin parameter (#15963)
* support YES and NO for -pin

* add if property_name == 'AFFINITY'
2023-03-01 17:31:04 +04:00
Haiqi Pan 3cc888555a fix ov::shutdown align definition (#15901) 2023-02-23 17:31:34 +04:00
Haiqi Pan 6bd7def8c4 fix sign-compare warnings in template backend (#15880)
* fix detection_output.hpp

* fix roi_align.hpp

* fix detection_output.hpp

* convolution_backprop_data.hpp

* convert_color_nv12.hpp

* fix detection_output.hpp

* fix detection_output.hpp

* remove no-sign

* fix code style

* fix roi_align.hpp

* fix roi_align.hpp

* fix detection_output.hpp

* fix C4267
2023-02-23 08:35:28 +04:00
Haiqi Pan 6f85ee7968 fix shutdown (#15882) 2023-02-22 22:04:19 +04:00
Haiqi Pan 1b147c3560 remove no-sign (#15817) 2023-02-20 20:34:23 +04:00
3f06d871bf Remove catch(...) code style (#14433)
* 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>
2023-02-16 11:44:24 +08:00
Haiqi Pan 67fff4adcc Fix sign-compare warnings in PDPD FE (#15635)
* fix warnings in /paddle

* fix bmp_reader.c

* add -Wsign-compare

* fix code style

* fix sum.cpp

* remove paddle sign-compare

* fix return in input_model.cpp

* fix bmp_reader.c
2023-02-14 12:11:59 +04:00
Haiqi Pan 82286cc2af fix dump/load_config using opencv (#15540)
* fix dump/load_config using opencv

* fix format

* remove empty line

* fix format
2023-02-08 10:33:51 +00:00
befbae28ca Add warning of benchmark_app about disabling auto batching (#13907)
* merge master

* reset original format

* remove AUTO

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* delete condition

* delete condition in py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-12-15 10:51:57 +08:00
Haiqi PanandIlya Churaev 28549a77bf Fixed warnings for Auto plugin (#13810)
* fix warnings

* remove MSVC

* Update src/plugins/auto/auto_executable_network.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/plugins/auto/auto_schedule.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-11-11 04:56:54 +03:00
Haiqi Pan c0c4c41241 Correct the GPU number that triggers the CPU removal in CTPUT (#13225) 2022-10-12 15:00:04 +08:00