Commit Graph

218 Commits

Author SHA1 Message Date
Vitaliy Urusovskij
11a2b75161 Fix TSAN issue No2 in GNA plugin (#17185)
* Fix TSAN issue No2 in GNA plugin

* Misprint
2023-04-25 16:32:06 +04:00
Maciej Kwapulinski
9c01de4b6e [GNA] fix: embedded export is available for embedded targets only (#17105)
* fix: embedded export is available for embedded targets only

* [GNA] functional tests fix - embedded export should NOT be possible on non-embedded target

* [GNA] tests added/justified to process both negative and positive path
2023-04-25 10:45:47 +01:00
Vitaliy Urusovskij
5533de5dd8 Fix TSAN issue in GNA plugin (#17163) 2023-04-25 10:33:06 +04:00
Ilya Lavrenov
83cc2277b4 Fixed compilation with sanitizer (#17175) 2023-04-25 00:44:16 +04:00
Tomasz Adamowicz
86ed1e93b6 [Gna] [coverity]fixes (#17122)
* [Coverity] Fix: CID 1502468 - Not restoring ostream format

* [Coverity] Fix: CID 1502524 - Dereference null return value

* [Coverity] Fix: CID 1509007 - Uncaught exception

* [Coverity] Fix: CID 1505779, 1505781, 1505783 and 1505786 - Dereference null return value

* [Coverity] Fix: CID 1502503 - Using invalid iterator

* Revert "[Coverity] Fix: CID 1502524 - Dereference null return value"

This reverts commit b605a493ae.
2023-04-24 14:04:30 +01:00
Ilya Lavrenov
a34ef680f2 Made plugins.hpp generation to be CONFIG dependent (#17139) 2023-04-24 14:48:45 +04:00
Marcin Kusmierski
4e6a129672 [GNA] Fix tests configuration to ensure that 3_5 target is tested too (#17046) 2023-04-20 09:18:36 +02:00
Egor Duplenskii
4ce5548c9a [GNA] fix compilation warning (#17027)
Which becomes error with '-Werror'
2023-04-19 10:00:24 +00:00
Marcin Kusmierski
90b485715a [GNA] Fix tests failing due to dependency to CI environment state (#17007) 2023-04-19 11:42:15 +02:00
Szymon Irzabek
a8c7c19cb9 [GNA] Fix channel multiplier calculation (#17010) 2023-04-19 11:01:27 +02:00
Marcin Kusmierski
1281074e15 [GNA] Fix for GNA 3_5 fixing tests after review (#16954)
* [GNA] Fix review comments for Conovolution2DLayer tests

* [GNA] fix review comments for smoke_ConvolutionPoolingStrideNotEqualWindowTest_Above

* [GNA] Fix review comments to GNAPWLExtraSegmentsTestFixture

* [GNA] Fix review comments to smoke_LSTMCellBasicCommon
2023-04-19 07:31:34 +02:00
Ilya Churaev
566ef01a3f Remove constructors for ov Exceptions (#16938)
* Remove constructors for ov Exceptions

* Fixed linux build

* Fixed ONNX Frontend

* Fixed paddle

* Fixed exceptions in tests

* Deprecate constructors for ov::Exception

* Suppress some warnings

* Merge several exceptions

* Some small changes

* Suppress more warnings

* More warnings

* mode warnings

* Suppress more warnings

* More warnings
2023-04-18 21:02:26 +04:00
Marcin Kusmierski
d5123056bb [GNA] Fix issues with GNA 3.5 - Fix pooling for Convolution1D and Convolution2D (#16734)
* [GNA] Fix 1D Pooling realized as part of 2D Convolution

* [GNA] Fix pooling for GNA_SW_FP32 mode when fused with Convolution2d

* [GNA] Fix ConvolutionPoolingStrideNotEqualWindowTest tests for 3_5
2023-04-18 11:41:04 +02:00
Mikhail Ryzhov
f97eeb59d5 [GNA] Fixed cases when FQ is not the 1st layer (#16602)
* Fixed cases when FQ is not the 1st layer

* clang formatted

* Added support of Gather
2023-04-18 10:43:31 +02:00
Mikhail Ryzhov
14f38bfde8 [GNA] Reverted internal overload correction (#16962)
* reverted overload correction

* added comment

* Enabled tests

* Revert merge error

This reverts commit daed290452.
2023-04-17 17:39:58 +00:00
Sofya Balandina
9f3bc22e7a [apiConformance] Refactoor core_integration.cpp (#16416) 2023-04-14 23:15:41 +00:00
Oleg Pipikin
7ce40996e5 Fix copy constructor and assignment for ov::Any (#16757)
* Fix copy constructor and assignment for ov::Any

* Fix1

* Apply comments

* Add test

* Fix code style

* Fix2

* Fix3
2023-04-14 22:12:18 +04:00
Marcin Kusmierski
d6f7e5e84d [GNA] Fix UT for adding extra segments to PWL-s after convolution (#16732) 2023-04-14 11:25:10 +02:00
Marcin Kusmierski
67aa807892 Fix smoke_LSTMCellBasicCommon for GNA 3.5 (#16924) 2023-04-14 08:43:30 +02:00
Maciej Kwapulinski
0e975ffbb6 [GNA] smoke_MemoryTest suite enabled for transformation=NONE (#16481)
* relative threshold for smoke_MemoryTest suite adjusted for GNA

* smoke_MemoryTest suite enabled

* GNA MemoryTest. TransformNone: input changed to [5-10]. TransformLatency is disabled.

* RR comments applied

* RR2 comments applied

* RR3 comments applied

* clang-format-9 fix

* RR4 comments applied
2023-04-12 21:16:08 +00:00
Sofya Balandina
ed5148b75f [apiConformance] Refactor io_tensor tests (#16348) 2023-04-12 17:22:01 +04:00
Szymon Irzabek
496fe7a7db [GNA] Extend unsupported concat detection to include cascaded concat with convolution (#16756) 2023-04-12 12:19:42 +02:00
Marcin Kusmierski
b755d17090 [GNA] Fix plugin crash when infinite loop discovered. (#16770) 2023-04-12 10:00:52 +02:00
Ilya Churaev
81821f3dbb Remove vopset typo (#16833)
* Remove vopset typo

* remove ::
2023-04-10 19:50:06 +04:00
Ilya Lavrenov
f1d6725477 Removed legacy src files from inference library (#16839) 2023-04-10 19:26:09 +04:00
Sofya Balandina
ed50d3782c [apiConformance] Define mandatory scope for infer requiest tests (#16418) 2023-04-10 12:27:20 +04:00
Sofya Balandina
c6fc8e5adc [apiConformance] Exec_network_base refactor and define mandatory scope (#16413) 2023-04-07 16:17:50 +04:00
Marcin Kusmierski
bc0c8374da [GNA] Fix issues with GNA 3.5 - Increasing kernel to stride for Convolution2D (#16642)
* [GNA] Add increasing kernel in case stride is bigger than kernel.

* [GNA] fix review comments
2023-04-06 09:34:38 +01:00
Ilya Churaev
70ef0b5316 Minimize rebuild for Makefiles generator (#16729)
* Add dependency from ov_plugins.hpp only for files which use it

* Remove rebuild files depends on CI_BUILD_NUMBER changes

* Try to fix static build

* Fixed comments

* Fixed build

* Merged some change

* Try to fix build

* Try to fix nvidia build

* Take LTO value from target property
2023-04-06 11:02:28 +04:00
Oleg Pipikin
1c564226f3 Deprecate util functions in public api (#16716)
* Deprecate util functions in public api

* Add deprecation suppression for usage inside openvino

* Fix clang-format

* Fix1
2023-04-06 06:32:04 +04:00
Mikhail Ryzhov
06e6a69356 Revert "[GNA]Fix crash in gna_pluing when using POT (#16003)" (#16719)
This reverts commit 0a56927671.
2023-04-03 20:12:57 +02:00
Marcin Kusmierski
0a56927671 [GNA]Fix crash in gna_pluing when using POT (#16003) 2023-04-03 16:22:56 +01:00
Ilya Lavrenov
ccf9c19f61 Deprecated UNDEFINED values for execution / performance hints (#16563)
* Deprecated UNDEFINED values for execution / performance hints

* Update src/tests/functional/plugin/gpu/shared_tests_instances/behavior/ov_plugin/properties_tests.cpp

* Fixes

* Fixes
2023-03-30 13:48:19 +04:00
Ilya Lavrenov
0250f62d11 Revert inference precision to be a hint (#16634) 2023-03-29 18:59:33 +04:00
Vladislav Golubev
8d59252966 [Transforamtions] NonZero horizontal fusion (#16571)
* Added ValuePredicate 'consumers_more_than'

* NonZero fusion

* NonZero fusion tests
2023-03-29 17:23:37 +04:00
Mikhail Ryzhov
55e9cae54f [GNA] Pre/Post processing via evaluate (#15691) 2023-03-28 14:50:02 +00:00
Marcin Kacprzak
d9d1df2fe3 [GNA] Implemented ExecutionMode support in GNA Plugin (#16396) 2023-03-28 14:47:12 +04:00
Tomasz Adamowicz
4936d4bb1d [GNA] Introduce 16Byte memory alignment for LNL (GNA3.6) (#16363)
* [GNA] Introduce 16Byte memory alignment for LNL (GNA3.6)

* update after review
2023-03-27 10:42:34 +01:00
Xuejun Zhai
8509d0dd82 [Deprecated API] remove version (#16426)
* [Remove version] Remove version from py openvino

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Modify caused by remove version

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix clang format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Revert "Fix clang format issue"

This reverts commit 132787286f.

* Fix CI format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix CI format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix merge conflict error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-03-22 16:09:14 +01:00
Ilya Lavrenov
0c99135d44 Improved properties handling between Core and plugins (#16296)
* [HETERO]: adopt setting device properties in benchmark_app/speech_sample for HETERO

Fix IEClassHeteroExecutableNetworkGetMetricTest_SUPPORTED_METRICS test

Fix NumStreamsAndDefaultPerfHintToHWTest/PerHintAndDefaultPerfHintToHWTest tests

[HETERO][MULTI][AUTO] Make ov::device::properties regular property

[PYTHON] Update python BA with device properties

Update after rebase

Update src/plugins/auto/auto_executable_network.cpp

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

Update src/plugins/auto/multi_executable_network.cpp

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

Fix merge conflicts, apply some review comments

* Multiple improvements

* [HETERO]: adopt setting device properties in benchmark_app/speech_sample for HETERO

Fix IEClassHeteroExecutableNetworkGetMetricTest_SUPPORTED_METRICS test

Fix NumStreamsAndDefaultPerfHintToHWTest/PerHintAndDefaultPerfHintToHWTest tests

[HETERO][MULTI][AUTO] Make ov::device::properties regular property

[PYTHON] Update python BA with device properties

Update after rebase

Update src/plugins/auto/auto_executable_network.cpp

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

Update src/plugins/auto/multi_executable_network.cpp

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

Fix merge conflicts, apply some review comments

* Code style, bugfix after merging improvement

* More improvements

* Even more improvements

* Commit changes in core_impl.cpp

* Added parsing of any maps

* Fixed code-style

* Fixed AB mock tests build

* Fixed comparison

* Added new AB config key

* Improvements and fixes (#147)

* Fix BA, fix GetSupportedConfig call for virtual plugins (#148)

* Fix GPU tests (#149)

* Fix BA, fix GetSupportedConfig call for virtual plugins

* Fix GPU tests

* Code style

* Improvements 10

* Fixed incorrect tests

* Revert removal cache_dir

* Revert removal cache_dir

* Fixed clean

* Supported device ID in CPU

* More fixed tests

* clang-format

* Fix legacy GPU tests (#150)

* Removed clone_map

* clang-format

* Added clone_map back

---------

Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
2023-03-20 12:42:40 +00:00
Marcin Kacprzak
91b9675bed [GNA] Replace log::warning() with THROW_GNA_EXCEPTION for unsupported Concat (#16144) 2023-03-16 12:41:38 +00:00
Mateusz Tabaka
8477bc8897 Reduce the number of validate and infer types in ConvertPrecision (#15277)
* Reduce the number of validate and infer types in ConvertPrecision

Currently, ConvertPrecision pass frequently runs validate and infer types.
This is due to the fact that it iterates over every precision pair, then over
the whole model followed by validate and infer types.
The proposed solution is to iterate over the model: for each node iterate
over precisions array, update the node if required followed by validate and
infer types.

Ticket: 81311

* use map

* clang format

* move enum hasher

* fix gpu

* revalidate

* reinvalidate if node has changed

* remove validate for input prec changes

* fix gpu

* review

* find

* fix pytorch case

* revalidate

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-03-14 21:45:24 +04:00
Tomasz Adamowicz
5311ab0938 [GNA] Refactor memory alignment macro usage (#15749)
* Add possibility to use memory alignment different than 64B

* update tests for new memory api

* Remove ineffective code

* [FIX] Fix memory alignment issues for graph compiler primitives

* Update after review
2023-03-13 15:22:58 +00:00
Ilya Lavrenov
f080a0d9cf Added NCC style for frontends sources (#16200)
* Ability to provide several source dirs for ncc-style checks

* Fixed include headers; added NCC to TF common

* Fixed NCC for frontends

* Fixed NCC for frontends

* Extra fixes

* Fixest push --f

* Clang-format

* Apply comments

* Add an option to specify required clang-format version

* Update src/frontends/tensorflow/src/decoder_proto.cpp

* Update src/frontends/tensorflow/src/decoder_proto.cpp
2023-03-13 14:54:00 +00:00
Ilya Lavrenov
1874c072b2 switched public Azure Linux build to clang (#16198)
* switched public Azure Linux build to clang

* Fixed GNA compilation

* Suppressed warning in GNA tests

* switched public Azure Linux build to clang

* Fixed GNA compilation

* Suppressed warning in GNA tests

* More fixes

* Skip test on CPU
2023-03-11 11:01:27 +04:00
Ryszard Jezierski
1051226fc9 Updated GNA lib version to 1906 (#16122) 2023-03-09 14:58:46 +00:00
Szymon Irzabek
e79636bfbb [GNA] Add 3.6 and 4.0 targets (#15735) 2023-03-07 17:14:59 +01:00
Ilya Lavrenov
15e43e0cc2 Removed explicitl handling for cache_dir from GNA (#16134) 2023-03-07 13:42:56 +00:00
Xuejun Zhai
9b97235902 Xuejun/remove api in ov any (#15667)
* [Remove APIs] remove ov::any api  &

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] remove ov::any api

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] remove interfaces in ov::any  Base* operator->() & const Base* operator->()

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] remove ov::any interfaces Base* get() & const Base* get()

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] remove ov::any interfaces call(const Any& any) & dynamic_pointer_cast(const ::ov::Any& any) & static_pointer_cast(const ::ov::Any& any)

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] fix code format issues in ov::any

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Remove APIs] fix review issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [Remove APIs] clear code

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [Remove APIs] fix review issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [Remove APIs] fix compiler issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [Remove APIs] fix compiler issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [Remove APIs] fix compiler issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* Fix variant error

Signed-off-by: xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Signed-off-by: xuejun <xuejun.zhai@intel.com>
2023-03-06 10:24:08 +04:00
Ilya Lavrenov
e1fbb7d768 Fixes for multi-config generators (#16097) 2023-03-05 10:46:53 +04:00