Compare commits

...

175 Commits

Author SHA1 Message Date
Tatyana Raguzova
cf2c7da568 Remove fix for gna tests (#18135) 2023-06-19 12:54:34 +01:00
Tatyana Raguzova
5fb2f72af5 Increase version for 2022.3.1 release (#18081)
+ Fix for gna tests
2023-06-16 17:15:23 +04:00
Karol Blaszczak
12b562bdde [DOCS] bring VPU support back in 22.3.1 (#18064) 2023-06-14 12:48:46 +00:00
Karol Blaszczak
04bcae3f49 Docs port otx and datumaro changes (#18005)
port and adjust:
https://github.com/openvinotoolkit/openvino/pull/17944
https://github.com/openvinotoolkit/openvino/pull/17269
2023-06-13 07:41:09 +00:00
Ilya Lavrenov
b10cf93e7e Ports fixes to 2022.3.1 LTS (#17951)
* Fix config mapping for runtime and frontend targets for RelWithDebugInfo config (#17312)

* Fix samples RelWithDebugInfo config binding

* Fix1:

* Add default config map for openvino::runtime

* Fix2

* Fix3

* Fix4

* Added cmake_policy call to allow IN_LIST in if() (#17916)

* Ported https://github.com/openvinotoolkit/openvino/pull/17900

* Fixed compilation with clang

---------

Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
2023-06-09 00:55:09 +04:00
Anastasia Kuporosova
83fadb96ad [PyOV] Check for glibc version in python test (#17081) (#17097)
* [PyOV] Check for glibc version in python test (#17081)

* [PyOV] Check for glibc version in python test

* fix for no glibc

* fix codestyle

* test for ci

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-06-09 00:54:53 +04:00
Sebastian Golebiewski
5b953be972 [DOCS] Fixing formatting issues in documentation - for 22.3 (#17758)
* port17603

* fixes
2023-05-29 08:13:08 +02:00
Sebastian Golebiewski
0e47987446 [DOCS] Update Interactive Tutorials - for 22.3 (#17601)
port: https://github.com/openvinotoolkit/openvino/pull/17598/
2023-05-22 14:46:35 +02:00
Maciej Smyk
f392465e2a [DOCS] Recreation of BDTI PRs - 22.3 (#17546)
* 16913
* Update performance_hints.md
2023-05-22 10:32:42 +02:00
Fang Xu
7303ffa7b9 update tbb2020 package for windows (#17599)
* update tbb2020 package for windows

add tbb binaries versioning

tbb2020.3.3: https://github.com/oneapi-src/oneTBB/releases/tag/v2020.3.3

* update SHA256

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-05-20 00:17:04 +04:00
Przemyslaw Wysocki
b24fc40fae Add upper bound to linter (#17623) 2023-05-19 14:27:49 +04:00
Ilya Lavrenov
cb9b50a49d Port fixes from master to LTS (#17324)
* Update ie_common.h (#16860)

* [GPU] Added try/catch for device detection loop to skip platforms which throw an exception (#17011)

* ONNX FE - model loading fix (#17091)

* Path retrieval fix

* More detailed messages in the failing test

* Exe path with model name

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>

* Upper-bound for patchelf (#17177)

* Apply suggestions from code review

---------

Co-authored-by: Ian Hunter <ian.hunter@intel.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
2023-05-19 13:39:54 +04:00
Oleg Pipikin
8f42bf1647 Fix copy constructor and assignment for ov::Any (#16757) (#17087)
* 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

* Fix1
2023-05-18 11:29:05 +04:00
Karol Blaszczak
8ba2d74f10 Prepare "memory_optimization_guide.md" (#17022) (#17497)
---------

Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
2023-05-15 10:38:49 +02:00
Karol Blaszczak
bdadcd7583 [DOCS] benchmarks new page port 22.3 (#16620) (#17252)
port 3 PRs to recreate the new benchmark page:
16984, 16620, 16862

Port css style, html modal, and fix 1 POT link for benchmarks from master.

port 1 install guide fix:
16572
2023-04-27 15:46:27 +02:00
Maciej Smyk
2deaccc02f Update automatic_batching.md (#17262) 2023-04-27 14:39:44 +02:00
Sebastian Golebiewski
cc351b023a update tuts (#17235) 2023-04-27 11:43:18 +02:00
Vitaliy Urusovskij
ed4a7a3842 [2022.3] Fix TSAN issues in GNA plugin (#17216)
* Fix TSAN issue in GNA plugin (#17163)

* Fix TSAN issue No2 in GNA plugin (#17185)

* Fix TSAN issue No2 in GNA plugin

* Misprint

* Add copyright
2023-04-26 15:40:12 +04:00
Ilya Lavrenov
72877d4b09 Use manylinux2014 instead of manylinux_2_17 as a platform tag (#15215)
* Use manylinux2014 instead of manylinux_2_17 as a platform tag

* Test
2023-04-26 12:08:51 +04:00
Andrei-George Boji
6e6c469e69 Updated dependencies for new FW (#17024)
* Updated dependencies for new FW

* updated depencies for pcie fw
2023-04-21 05:39:41 -07:00
Karol Blaszczak
34a041a8a3 [DOCS] bring back conda guide 23.0 (#17030) 2023-04-20 14:09:32 +02:00
Vitaliy Urusovskij
a5c97d346a Fix FQ ref impl broadcasting (#17017)
* Fix broadcasting issue in FQ ref implementation (#16812)

* Try to return skipped test after FQ fix

* Copy FQ broadcast case from CPU to TEMPL tests
2023-04-18 22:57:02 +04:00
Karol Blaszczak
d3f7a76d9b [DOCS] quick vpu fix (#16998) 2023-04-17 17:36:42 +02:00
Karol Blaszczak
b9f6104662 [DOCS] add vpu disclaimer (#16948) 2023-04-17 13:02:39 +02:00
Przemyslaw Wysocki
41f0419b37 [PyOV] Bump numpy to 1.24 in runtime (#16886)
* Bump runtime numpy

* Try forcing lower numpy in tests

* Lower numpy in tox

* Force numpy
2023-04-17 13:25:26 +04:00
Tatiana Savina
d329f4ddd3 DOCS Add Missing Python snippets to FE extensibility page (#16455) 2023-04-14 16:08:05 +02:00
Vitaliy Urusovskij
49033da98b Small docs fixes (#16945) (#16951) 2023-04-14 11:48:58 +00:00
bstankix
c7bb2bd119 [docs] Update switchers 4 (#16922)
- update version switcher
- update language switcher
2023-04-13 14:50:30 +02:00
Mateusz Bencer
19e914a46e [port from master][ONNX FE] Fix Squeeze v1 (#16890)
* fix squeeze v1

* fixed Squeeze ctor
2023-04-12 21:04:52 +01:00
Ilya Lavrenov
c3f1c9c867 Port fixes from master to 2022.3 (#16842)
* Return benchmark_tool to openvino-dev wheel (#16834)

* [HETERO] Enable smoke_Hetero_CachingSupportCase tests (#16711)

* Remove warnings during cython call (#16831)

---------

Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
2023-04-10 22:12:22 +04:00
Przemyslaw Wysocki
e7cfb8e363 Fix linter (#16622) 2023-03-31 01:21:39 +04:00
Ilya Lavrenov
7d28ed499a Port 2022 3 (#16611)
* Fixed typo in core tests (#16235)

* More accurate hwloc finding in case of dynamic tbbbind (#16488)

* [INSTALL] Fix setupvars (installation for MacOS) and build python  (#16514)

* Fix installation + Python build on MacOS

* Update setupvars.sh

* Update setupvars.sh

* Revert

* revert

* Update scripts/setupvars/setupvars.sh

---------

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

---------

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
2023-03-29 13:58:22 +04:00
Sebastian Golebiewski
3e950a52f7 Update Doxyfile.config (#16594) 2023-03-28 15:56:16 +04:00
Sebastian Golebiewski
d5044c5e55 Update tutorials (#16545) 2023-03-24 18:17:27 +01:00
Karol Blaszczak
941f23a519 [DOCS] minor fix for content and config 22.3 (#16530) 2023-03-24 14:33:29 +01:00
Oleg Pipikin
6f6e4093b9 Fix ir10 inputs outputs serialization order (#16357) (#16401)
* Change IRv10 serialisation to not reorder parameters and results

* Add tests

* Fix1
2023-03-21 11:00:05 +04:00
Anastasiia Pnevskaia
2281a0ef78 Fixed clearing of pipeline config params and TF session in convert_model() (#16191) (#16346)
* Fixed pipeline config params clearing.

* Added clearing of TF session. Added tests.
2023-03-17 13:28:25 +04:00
Anastasiia Pnevskaia
11f1841fce Clearing of CustomReplacementRegistry.registry in convert_model() (#15893) (#16347)
* Clearing of CustomReplacementRegistry.registry.

* Added test.
2023-03-17 13:17:16 +04:00
Karol Blaszczak
7e0c8f8c40 DOCS-image-fix port22.3 (#16341)
(#16324)
(#16308)
2023-03-17 08:15:00 +01:00
Sebastian Golebiewski
a19e5c5865 [DOCS] Updating 'Prerequisites' section in Configurations for GNA article - for 22.3 (#16237)
* issue-15090
Add command for installation of prerequisites on Linux.
2023-03-15 17:09:28 +01:00
Sebastian Golebiewski
cb49293cc0 [DOCS] Adding 'Scrollbox' - new sphinx directive (#15307)
port https://github.com/openvinotoolkit/openvino/pull/15305
2023-03-15 15:24:23 +01:00
Sebastian Golebiewski
5c686a01fe 234 update (#16212)
Adding notebook 234-encodec-audio-compression
2023-03-10 16:28:59 +01:00
Sebastian Golebiewski
c329685f03 port-16085 (#16210) 2023-03-10 17:26:37 +04:00
Andrei-George Boji
e7f6244c36 Andreib/2022.3 myriad plugin obs (#16079)
* Changed to OBS firmware

* Changed dependencies settings for new FW

---------

Co-authored-by: Daria Mityagina <daria.mityagina@intel.com>
2023-03-09 15:14:49 +00:00
Karol Blaszczak
ab4f31c2f1 Docs benchmarks page update port 22.3 (#16187)
changes to benchmarks page to align with theme
2023-03-09 14:22:11 +01:00
Ilya Lavrenov
74272ed05e Port to 2022.3 (#16174)
* Remove setuptools upperbound (#16054)

* Added missed licenses to openvino-dev (#16057)

* Fixed OpenMP + debian package code-path (#16058)

* [CPU] Prevent out of bounds read inside Graph::InferDynamic (#16067)

* Fixed compilation on Debian 11 with gcc 12.2 (#16096)

* Fix for OpenCL

---------

Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com>
2023-03-09 15:25:23 +04:00
Tatiana Savina
172400fbf0 [DOCS] Port Frontend Extensions and OTX page (#16135)
* [DOCS] Add OTX page to Ecosystem  (#16118)

* add otx page

* change ecosystem page

* add ote img

* move ote page to rst

* fix path

* add path

* img test

* otx page

* add docs to ecosystem page

* [DOCS] Fix Frontend Extensions snippets (#16120)

* move fe to rst

* fix code snippets

* add more line breaks

* fix tabsets

* fix link

* fix anchor

* test

* fixing link

* change tab directive

* fix tabs

* align code tabs

* fix link

* fix snippets

* add dlwb to ecosystem

* change ecosystem menu

* exclude fe page
2023-03-08 17:14:31 +01:00
Karol Blaszczak
c4e9623b4e [Docs] nv12 changes port to 22.3 (#16115)
Port:
#15370
#16004

add single-plane input information
create single-plane cpp snippet
menu fix
update formatting for sphinx directives
additional snippet fixes
---------
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
2023-03-07 10:00:28 +01:00
Haiqi Pan
d91fbb10f2 fix benchmark_app python to support YES and NO values for -pin parameter (#16042)
* support YES and NO for -pin

* add if property_name == 'AFFINITY'

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-03-06 10:55:48 +00:00
Sebastian Golebiewski
438eb5414f Update Customize_Model_Optimizer.md (#15687)
Recreating #14062
2023-03-06 10:27:50 +01:00
Sebastian Golebiewski
cf03f9623e notebooks update (#16091)
20230302220806
2023-03-03 18:23:15 +01:00
Ilya Lavrenov
2632c9e687 Port to 2022.3 from master (#16049) 2023-03-02 21:06:56 +04:00
Ilya Lavrenov
90bbee7ceb Fixed clang-format for C API (#16025) 2023-03-01 19:24:13 +04:00
Tomasz Jankowski
5c105d3a2f [Transformations] Enable missing runtime info check (#15796) (#15972)
* Add rt info propagation to StridesOptimization

* Enable rt info check for pruning tests
2023-03-01 12:11:25 +04:00
Mikhail Ryzhov
e51bcb577c [GNA] Changed max layer limit tests to avoid SEH exceptions (#15015) (#15460)
* splitted test model

* Changed test config

* Set SF for all inputs
2023-02-28 20:06:27 +04:00
Vitaliy Urusovskij
627339e5f2 Apply Apivalidator to extra TBB libs (#15998) 2023-02-28 18:17:16 +04:00
Ilya Lavrenov
1ddb6797ab Install libtbb2 instead of libtbb12 on U22.04 (#15993) 2023-02-28 15:03:13 +04:00
Alexandra Sidorova
b13e96a12c [Snippets] Added matcher_name in ConvertConstantsToScalars pass (#15977) 2023-02-27 19:58:58 +04:00
Ilya Lavrenov
7274cdb51b Apivalidator (#15951)
* Improved API validator logic (#15942)

* Fix for apiValidator when more than 1 target needs to be checked (#15950)

* Prevent infinite recursion
2023-02-25 23:36:11 +04:00
Ilya Lavrenov
00b5232419 Fixed issues in setupvars.sh (#15884) (#15952)
* Fixed issues with setupvar.sh

* Fixes setupvars realpath error

---------

Co-authored-by: Otoka, Tomasz <tomasz.otoka@intel.com>
2023-02-25 21:26:54 +04:00
Ilya Lavrenov
589c927c3d Fixed samples build on Debian 10 with cmake 3.13 (#15939)
* Fixed samples build on Debian 10 with cmake 3.13

* Use 2022/3 branches

* Limit setuptools version
2023-02-25 00:31:27 +04:00
Sebastian Golebiewski
f0270214a0 [DOCS] Structure change for 'AUTO Device Selection' article - post merge fix (#15752)
* aligning with 14750
2023-02-24 12:21:35 +01:00
Ilya Lavrenov
523f2780af Supported OpenSUSE 15.3 (#15897) (#15907) 2023-02-24 12:56:13 +04:00
Wang, Yang
5a463d9886 Conversion fail for ov::hint::performance_mode with UNDEFINED value (#15903)
* Update ov::hint::performance_hint UNDEFINED value from empty string to "UNDEFINED".
Update benchmark Python version.
Update the description about hint setting within benchmark APP README and help message.

* Drop the reduntant changes.
2023-02-23 17:28:02 +04:00
Daria Mityagina
0283bce431 [67541] - face-detection-0205, 0206 issues fixed (incorrect dimensions error) (#14687)
* [CVS-67541] - face-detection-0205, 0206 issues fixed (incorrect dimensions error)
* [CVS-67541] - face-detection-0205, 0206 issues fixed
2023-02-23 12:23:06 +00:00
Artur Kulikowski
174be7c8bd [NormalizeL2] normalization of reduction axes (#15841) (#15879)
* Add test for negative axes, preliminary solution to solve uncorrect
results

* Normalize axes in operation NormalizeL2

* Add test for negative axes

* Add EOF
2023-02-23 12:05:03 +04:00
Maciej Smyk
0a5ca53752 Update deployment_simplified.svg (#15681) 2023-02-20 08:19:20 +01:00
Yuan Xu
5ad7d7c54b update symbolic link on uninstall page (#15720) 2023-02-15 18:40:43 +04:00
Fang Xu
20120ca646 22.3: remove tbb version check for using tbbbind static library (#15700) 2023-02-15 00:01:18 +04:00
Wang Wangwang
233c3ef841 Docs: Update the doc on default hint and execution devices property (#14836)
* Docs: Update to LATENCY as default hint
* Docs: Update the doc on execution devices property
* Update auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-02-10 13:15:33 +01:00
Ilya Churaev
4c81ede32e Port #15516 (#15541)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-02-09 15:43:43 +04:00
Ilya Lavrenov
ccd9cadb14 Port to 2022.3 LTS (#15506)
* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)

* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style

* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style warnings

* scripts/install_dependencies/install_NEO_OCL_driver.sh: add missing !

* [PyOV] Fix UserWarning in setup.py (#15334)

* [Tools] Support NumPy 1.24 (#14728)

* [Tools] Avoid use of NumPy deprecated types

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Revert "[Tools] Avoid use of NumPy deprecated types"

This reverts commit 21ffc167d1.

* Move to 1.24 Numpy

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* [PyOV] Change default opset9->opset10 (#15238)

* Meiyang/paddle 2.4 (#15177)

* PaddlePaddle 2.4.1 support

* Update src/frontends/paddle/tests/requirements.txt

lowering PDPD version

* update paddlepaddle to 2.4.0

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

* Update README.md (#15504)

Just a small typo.

* Throw an exceptions in case of incorrect pointers in Model creation (#15492)

* [C++] Fix coverity issues (#15348)

* [C++] Fix coverity issues

* Merge master with this branch

* [C++] Reapply changes that got eaten during merge

* Update samples/cpp/benchmark_app/main.cpp

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

* [C++] Add missing const keyword

---------

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

* [Tests] Fix rest of NumPy deprecated types (#15245)

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Bump paddlepaddle from 2.4.0 to 2.4.1 in /src/frontends/paddle/tests (#15190)

Bumps [paddlepaddle](https://github.com/paddlepaddle/paddle) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/paddlepaddle/paddle/releases)
- [Changelog](https://github.com/PaddlePaddle/Paddle/blob/develop/RELEASE.md)
- [Commits](https://github.com/paddlepaddle/paddle/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: paddlepaddle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [nGraph]: fix fused names for ShuffleChannelsFusion transformation (#15150)

* [nGraph]: fix fused names for ShuffleChannelsFusion transformation

* Review comments

* [MO] Activate pylint checker in CI (#15012)

* Fixed mo workflow

* Update pylint config with import os

* Update .github/workflows/mo.yml

* Install extras for pylint checker

* Fix pylint reported errors

* Add torch to the environment

* Add torch into whitelist

* Ignore torch

* Localize torch code

* Fix syntax error

* Remove MO unit-test from Pylint flow

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

* [PyOV] Allow `numpy` patch releases (#15265)

* Update reqs

* test, minor change

* [LPT] clang merge warning fix (#15502)

* Trying to fix debian packages (#15508)

* Trying to fix debian packages

* Added conflicts for samples for RPM

* updated mo/requirements.txt

* updated python/requirements.txt

* updated compatibility/requirements.txt

* Ipdated more places

* Revert "scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)"

This reverts commit 36106d9c45.

* Apply suggestions from code review

* Added policy

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
Co-authored-by: mei, yang <yang.mei@intel.com>
Co-authored-by: kyo <113977534+kyo-takano@users.noreply.github.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Piotr Krzemiński <piotr.krzeminski@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
2023-02-09 15:34:18 +04:00
Mingyu Kim
494d688d7c [GPU] Show num_ccs for RANGE_FOR_STREAMS (#15593) 2023-02-09 11:55:24 +01:00
Ilya Lavrenov
833c2865c3 Generalized OpenCL handling (#15253) (#15507)
* Generalized OpenCL handling (#15253)

* Squashed commit of the following:

commit 62c992f6a0bc3a2f559faac6912be9c5632a359f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jan 22 11:38:18 2023 +0400

    Generalized OpenCL handling

* Updates

* Fixes

* Update thirdparty/CMakeLists.txt

test

* Fixed build with CL/cl2.hpp

* Fixes

* Fixes

* Fixed compilation flags

* Fixed build with target OpenCL 120

* Don't use cache

* Added policy

* Fixed with build_interface
2023-02-09 14:52:25 +04:00
Artur Kulikowski
7b2273362e Port relative path 2022.3 (#15523)
* Add test to verify add_extension with relative path (#15212)

* Add test to verify add_extension with relative path

* Fix code style

* Use std::string::find instead of std::regex

* Remove unnecessary include

* Add comments about generating relative path

* Don't add empty tokens when splitting path

* Resolve relative path to the extension

* Method available independent of build_type
2023-02-08 18:46:23 +01:00
Nikolay Shchegolev
8967b4de50 [CPU] MEMC loading failed RuntimeError: There should be only one inst… (#15380) (#15464)
* [CPU] MEMC loading failed RuntimeError: There should be only one instance of RegistersPool per thread.

* Fixes as per comments.
2023-02-08 15:26:58 +04:00
Sebastian Golebiewski
f0fa2184e6 [DOCS] Supported Layers update - for 22.3 (#15360)
* LessEqual Not Supported

* port #13997

Update support "Sign" layer to not supported.
Update support "Floor" layer to limited support.
Tickets: 88871 and 88693

* port #13995

Add "Floor" in Known Layers Limitations section.
Add "ConvTranspose" in Known Layers Limitations section.
Add "GatherElements" in Known Layers Limitations section.

Tickets: 88871 and 75208 and 88690
2023-02-08 10:44:16 +01:00
Iosif Dirlea
dddec34f35 Fix void function returns value kw issue (#15520)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-02-08 12:40:21 +04:00
Xiake Sun
46843777fa [Docs] Port fix convert tf crnn model docs for release 22.3 (#15469)
* Port fix convert tf crnn model for release 22.3
2023-02-08 08:48:17 +01:00
Adrian Varlan
7bb043287a Fix Myriad plugin wait for inference on multiple devices (#14072)
Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-02-07 19:44:13 +01:00
Artyom Anokhov
bb02a94d4a install_NEO_OCL_driver: Fixed ShellCheck errors (#15533)
* install_NEO_OCL_driver: Fixed ShellCheck errors

* install_NEO_OCL_driver: Fixed after remarks

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-02-07 21:46:07 +04:00
Daria Mityagina
3e0474ac2f [HDDL] - Update path (#15536)
* [HDDL] - update submodule path

* [HDDL] - update submodule path - do not match hddl2

* [HDDL] - update submodule path - edit REGEX
2023-02-07 10:08:39 +04:00
Sebastian Golebiewski
cd28f2e4f8 [DOCS] Fixing links in 'Install Openvino on Windows from Archive' article - for 22.3 (#15357)
* fix links

* Update docs/install_guides/installing-openvino-from-archive-windows.md

* Update docs/install_guides/installing-openvino-from-archive-windows.md
2023-02-06 15:26:51 +08:00
Zlobin Vladimir
550b127b87 Parallelize build_samples_msvc.bat (#14828) (#15480)
Close https://github.com/openvinotoolkit/openvino/issues/14825
2023-02-04 12:05:18 +04:00
Karol Blaszczak
1c562982df Docs formatting for models article port (#15486)
* [DOCS] add to additional resources and change button formatting
2023-02-03 12:19:31 +01:00
Dalibor Segan
eff35123de Fix OpenVINO 2022.3.0 Chrome OS compilation (#15475)
This patch fixes two issues:
 * Typo in clang pragma directive
 * Reverse the order of the arguments in OPENVINO_ASSERT() in
   constant.hpp so this assert works for ov::bfloat16 and
   ov::float16 types which have impelemented binary comparison
   operators as the memeber functions
2023-02-03 13:29:26 +04:00
Artyom Anokhov
fd33cc3b49 properties.hpp: Undef DEBUG macro for log level property (#15473) 2023-02-02 23:47:21 +04:00
Artyom Anokhov
358efd2d06 Updated copyrights with 2023 year (#15148)
* Updated copyrights with 2023 year.

* Updated more files
2023-02-02 16:48:28 +01:00
Ilya Lavrenov
a11ae5b690 Setup minimum supported version for pybind11 (#15405) 2023-02-02 16:04:10 +04:00
Yuan Xu
580eebbc33 Add a disclaimer about CentOS for YUM install (#15453)
* update step 3

* fix formatting

* fix formatting

* fix formatting

* test formatting

* change code to use sphinx directives

* fix formatting

* test formatting

* test formatting

* rewording

* test formatting

* test formatting

* test formatting

* move content to troubleshooting guide

* fix formatting

* fixes

* remove troubleshooting item and add a disclaimer

* add centos 7
2023-02-02 18:40:58 +08:00
Karol Blaszczak
b0277c865b Docs ov 2022 3 Added results for Sapphire Rapids 6448Y. OV bench results and system config description (#15418) (#15443)
fixes the FP32 and FP16 swap of results.

* SPR-6448Y updated results

Updated all files with data for SPR 6448Y. New results in benchmark-data.csv, benchmark-performance-data.xls, benchmark-info-detailed.xls and platform-list_22.3.pdf

authored-by: Michael Frank Hansen <michael.f.hansen@intel.com>
2023-02-01 20:56:55 +01:00
Artyom Anokhov
eb8b47002d install_NEO_OCL_driver: Unlock possibility to install GPU driver on ubu22 (#15440) 2023-02-01 23:24:50 +04:00
Sebastian Golebiewski
9e1329fd61 tocsection css burger svg (#15414) 2023-02-01 19:48:01 +01:00
Iosif Dirlea
b3f2187a17 Fixed possible overflows to clean KW scan (#15431)
Co-authored-by: Anastasiya Pronina <anastasiya.pronina@intel.com>
2023-02-01 14:50:32 +04:00
Artyom Anokhov
e52e6e6547 Updated instructions for Linux* with setup udev usb rules for NCS2 (#15115)
* configurations-for-ncs2: Updated instructions for Linux* with setup 97-myriad-usbboot.rules

* removed install_NCS_udev_rules script.

configurations-for-ncs2: Updated doc after review

* Removed installation on NCS2 script

* install_NCS_udev_rules: return script back

* install_NCS_udev_rules: Added executive permission

* install_NCS_udev_rules: Added newline to the end of file

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-31 14:39:51 +01:00
Artyom Anokhov
c28f91d031 Return install OCL driver script for LTS (#15395)
* Return back install_NEO_OCL_driver for LTS release

* install_NEO_OCL_driver: Added executive permission
2023-01-30 16:57:37 +04:00
Sebastian Golebiewski
1b1c9eff70 sphinx_design (#15306)
Adding new sphinx extension for designing responsive web components.
2023-01-30 10:06:20 +01:00
Anastasia Kuporosova
3e70387903 [PyOV] Update futureWarning in offline_transformations (#15319) (#15342) 2023-01-28 13:01:28 +04:00
Sebastian Golebiewski
8c85a3b8d3 architecture (#15337) 2023-01-28 15:07:36 +08:00
Artyom Anokhov
96f79b64cd Updated instruction for installing GPU driver on Linux*. (#15160)
* configurations-for-intel-gpu: Updated instruction for GPU on Linux*.

removed install_NEO_OCL_driver script

* Update docs/install_guides/configurations-for-intel-gpu.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update configurations-for-intel-gpu.md

Proposed to remove extra lines for Windows

* Updated with remarks

* Updated wording and some links

* Update wording for the note

* scripts/CMakeLists: removed install_NEO_OCL_driver from installing

removed duplication of MD-file gpu-setup-guide
Updated DM config

* Update docs/install_guides/configurations-for-intel-gpu.md

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>

* Update docs/install_guides/configurations-for-intel-gpu.md

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>

* Update docs/install_guides/configurations-for-intel-gpu.md

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>

* Update docs/install_guides/configurations-for-intel-gpu.md

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>

* Updated instructions with prerequisites for RH8

---------

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-01-27 18:54:46 +01:00
Tatiana Savina
aa330736cc [DOCS] Delete DL WB note 22.3 (#15283)
* delete DL WB tips

* remove space

* fixed a link
2023-01-27 16:12:39 +01:00
Ilya Churaev
4211cc38b8 Port 15303 (#15354)
* Try to fix fuzzer tests

* Try to fix test
2023-01-27 12:58:47 +04:00
Gorokhov Dmitriy
5770daf303 [CORE] Fixed VEX/NonVEX performance penalty inside Convert evalute impl (#15355) 2023-01-27 12:54:48 +04:00
Ilya Lavrenov
3c8ec29423 Migrate SVG files under LFS (#15322) 2023-01-26 16:22:51 +04:00
Sergey Shlyapnikov
ae52cb3e48 [GPU] Fix eltwise fusions in case of LT_ALIGNED_READ and vec_size>1 (#15261) 2023-01-25 13:27:58 +04:00
Sebastian Golebiewski
da5eb6843c DOCS: Update doxygen version - port to 22.3 (#15278)
* fixing references

* fix refs

* fix branch.hpp

* Update build_doc.yml
2023-01-24 19:39:05 +04:00
Anastasia Kuporosova
567eac4d8f [PyOV] skip dynamic test for arm (#15257) (#15271)
* [PyOV] skip dynamic test for arm

* Update src/bindings/python/tests/test_runtime/test_infer_request.py

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

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

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-23 23:33:28 +04:00
Daria Mityagina
c28bf68e30 [VPU] - Firmware update (#15260) 2023-01-23 14:57:44 +00:00
Yuan Xu
2462e6ae89 Fix installation issues for #15090 (#15105)
* add how to get install_NEO_OCL_driver.sh for Python users
* minor edits
2023-01-23 14:28:42 +01:00
Sebastian Golebiewski
7f229478ef fix headings (#15209) 2023-01-23 10:26:49 +01:00
Sebastian Golebiewski
8fbdd05782 DOCS: Update of 'Creating a YOCTO image' article - for 22.3 (#15133)
* update

Updating master branch in meta-intel repository for OpenVINO 22.3

* Update installing-openvino-yocto.md
2023-01-23 10:23:54 +01:00
Sebastian Golebiewski
d4e1694491 fix indentation (#15236) 2023-01-23 09:54:28 +01:00
Maciej Smyk
b7f4c87553 scheme3 (#14874)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-20 19:25:20 +04:00
Ilya Lavrenov
2f2c7d23ad Added SVG files to lfs (#15228) 2023-01-20 15:57:10 +04:00
Yuan Xu
be74074758 Add brew installation & update APT and YUM pages (#15141)
* create draft for brew installation

* updates

* updates

* updates

* minor updates

* fix formatting

* update with Brew uninstall and APT page

* update formatting

* fix a typo

* minor update

* update what's next & samples

* update additional resources

* update a link and YUM article

* align the beginning paragraphs

* align article structures

* fix anchors
2023-01-20 15:50:17 +04:00
Sebastian Golebiewski
8f9a4faa06 heading fix (#15226) 2023-01-20 15:11:37 +04:00
Maciej Smyk
977ad1b093 default_quantization_flow (#14850) 2023-01-20 14:24:20 +04:00
Sebastian Golebiewski
d47deaaca6 fix formatting (#15174)
fix formatting and links
2023-01-20 10:26:17 +01:00
Maciej Smyk
4a893dc6de DOCS: Model Caching Overview image recreation for 22.3 (#15025)
* Model Caching Overview

* graph-background-fix
2023-01-20 08:21:36 +01:00
Maciej Smyk
46921acd37 DOCS: OpenVINO™ Security Add-on image recreation for 22.3 (#15081)
* Security Add-on

* Update ovsa_example.svg
2023-01-20 08:16:28 +01:00
Anastasia Kuporosova
c939c70f0d [PyOV] Skip tests with bool for arm (#15208) (#15214)
* [PyOV] Skip tests with bool for arm

* exec_net export test rewrite
2023-01-20 01:23:50 +04:00
Jan Iwaszkiewicz
a2dc739da4 [PyOV] Add new types to Any dispatcher (#15194) 2023-01-19 15:38:46 +04:00
Wilson Seok
e998013e2e Cherrypick PR14812 to releases/2022/3 (#15172)
* fix strided_slice_optimize for 5d new axis output, typo in strided_slice cl kernal, avoid handle_reshape when user is only one

* fix unit test of resample_eltwise_fusing_through/12
2023-01-18 19:13:37 -08:00
Albert Angles
6c9c5cb70d enable first_inference_latency (first_inference+time_to_inference) (#14805)
* add time_to_first_inference_result KPI as sum of inf latency values

* append time unit format after the value

* Revert "append time unit format after the value"

This reverts commit 4bdd82e06b.

* remove metric, to be consistent with rest ones

* added FEIL SCOPED_TIMER  (It will report the sum of all stages)

* revert add time_to_first_inference_result KPI as sum of inf latency values

* place SCOPED_REGION(first_inference_latency) inside a block { }  - tested and worked

* enable first_inference_latency for timetest_infer_API_2.0

tested and worked

* remove trailing whitespace

Co-authored-by: Daria Ilina <daria.krupnova@intel.com>
2023-01-18 18:07:46 +00:00
Sebastian Golebiewski
c6b17afa81 revert tutorials (#15165) 2023-01-18 08:32:02 +01:00
Daria Mityagina
1285443993 [VPU] - Update MyriadX firmware (#15158)
* [VPU] - Update firmware

* [VPU] - Update firmware - R20.6

* [VPU] - Update firmware - g_callCommand
2023-01-17 19:44:28 +00:00
Anastasia Kuporosova
cc2c03c95d Port skipped test (#15140)
* [PyOV] Rewriting properties tests as hardware agnostic (#14684)

* [PyOV] Mark replacement of topk in test (#15095)

* undo unwished changes

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2023-01-17 17:24:19 +04:00
Tatiana Savina
bbdedc5860 update doc footer 22.3 (#15154) 2023-01-16 19:59:35 +03:00
Eddy Kim
1552beaab2 Adding missed conversion logics between layout and string for 2022.3 (#15111)
* added missed layout to string conversion

* added an unit test for layout_from_string

* added missing spaces around =

* replaced 95 with SCALAR

* moved layout_to_string into a new file

* changed to parametrized test
2023-01-16 17:30:44 +04:00
Ilya Lavrenov
ae537310dc Don't add samples subdirectory when both samples and tests are disabled (#14817) (#15122) 2023-01-16 10:50:17 +04:00
Sebastian Golebiewski
43c8af2fce DOCS: Updating the diagram in the home page -for 22.3 (#15108)
restyling the first paragraph and updating the diagram
2023-01-14 17:32:56 +01:00
Yuan Xu
9da0800b31 Add install dependencies info for APT & YUM (#15023)
* add install dependencies info

* update according to comments

* fix formatting

* fix formatting

* small corrections

* fix formatting & issues

* minor correction
2023-01-14 13:12:43 +00:00
Anastasia Kuporosova
196d01b952 Port changes in python tests to 2022.3 (#15101)
* [PyOV] Rewriting properties tests as hardware agnostic (#14684)

* [PyOV][Tests] Fix some tests for M1 (#14555)

* [PyOV] Make graph tests hardware agnostic - part 1 (#14500)

* Halfway done

* Prepare part 1

* Minor changes

* Minor changes

* [PyOV] Make graph tests hardware agnostic - part 3 (#14639)

* [PyOV] Make graph tests hardware agnostic - part 2 (#14519)

* [PyOV] Make graph tests hardware agnostic - part 4 (#14705)

* [PyOV] Make graph tests hardware agnostic - part 5 (#14743)

* merge conflict resolve

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
2023-01-14 01:39:17 +04:00
Alina Kladieva
d7607a2415 Disable IB in Win Azure pipeline (#15086) (#15098) 2023-01-13 17:56:40 +04:00
Eddy Kim
810b7e198e Update calculateFileInfo for the null string case for 2022.3 (#15078)
* updated not to find absPath for null filePath

* changed to cache only std::runtime_error

* fix clang-format error
2023-01-13 17:48:01 +04:00
Julio Morero
efa7cae5a0 Change device order in MULTI python snippet (#15077) 2023-01-13 01:49:14 +04:00
Yuan Xu
5f601a5f63 fix step5 (#15065) 2023-01-12 15:41:14 +04:00
Tatiana Savina
bf8d662050 update link and extras description (#15046) 2023-01-12 12:38:43 +01:00
Sebastian Golebiewski
29d7cd87d0 DOCS: Fixing formatting in 'Install From Apt' article - for 22.3 (#15066)
* fixing-formatting-apt

Fixing indentation, faulty code-blocks, numbering.

* fix link

* Update docs/install_guides/installing-openvino-apt.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* fix link

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-12 16:30:51 +08:00
Karol Blaszczak
8f7af3299f adding new tutorials (#15027) (#15033)
authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
2023-01-11 09:54:25 +01:00
Vladimir Paramuzov
aabda64bd8 [GPU] Fix shape infer for 0d broadcast (#14744) (#14971) 2023-01-08 12:59:24 +04:00
Zlobin Vladimir
f3a25e9d1b uint32->uint64 for RedHat gflags 2.1 failing at runtime (#14724)
* uint32->uint64 for RedHat gflags 2.1 failing at runtime

* tools/legacy/benchmark_app: uint32->uint64 for RedHat gflags 2.1 failing at runtime

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-06 18:13:17 +04:00
Maciej Smyk
2257dc8a53 DOCS: Libraries for Local Distribution image recreation for 22.3 (#14959)
* deployment_full

* Update deployment_full.svg
2023-01-05 23:14:15 +04:00
Sebastian Golebiewski
38911e4cb7 DOCS: Hiding Transition to API 2.0 banner - for 22.3 (#14952)
Using cookies to keep the banner hidden once the user have closed it.
2023-01-05 13:59:18 +01:00
Sebastian Golebiewski
57c2a07406 DOCS: Updating Interactive Tutorials - for 22.3 (#14946)
Adding new tutorials:
404-style-transfer-webcam
406-3D-pose-estimation-webcam
2023-01-05 13:48:07 +01:00
Maciej Smyk
418b455883 DOCS: Fixing broken links in documentation for 22.3 (#14941)
* fixing broken links
2023-01-05 13:46:19 +01:00
Maciej Smyk
563847bb76 Fix inference pipeline C++ doc: refer to the correct input blob (#14732) 2023-01-05 01:20:42 +04:00
Aleksandr Voron
e9bb5a2bb7 update pypi docs with apple m1 status (#14932) 2023-01-04 17:32:15 +04:00
Maciej Smyk
b11a977efd yolo_tiny_v1 (#14879) 2023-01-04 11:11:50 +01:00
Maciej Smyk
7c9482a3ca quantization_picture (#14870) 2023-01-04 11:07:51 +01:00
Karol Blaszczak
b260cb2f1e [DOCS] Remove System Requirements from install guides (#14808)
System Requirements removed where OS or hardware is mentioned... Docker articles not included

* include selector tool in install guide
2023-01-04 10:38:04 +01:00
Maciej Smyk
430e532a62 nncf_workflow (#14867) 2023-01-03 17:15:28 +01:00
Maciej Smyk
935059f0dc deployment_simplified (#14854) 2023-01-03 15:59:41 +01:00
Maciej Smyk
048667ca70 autoplugin_accelerate (#14839) 2023-01-03 14:55:28 +01:00
Tatiana Savina
afc7f8f3a0 updated links to 22.3 relnotes (#14917) 2023-01-03 14:54:16 +01:00
Maciej Smyk
a1245a95a4 DOCS: The LowLatency Transformation images recreation for 22.3 (#14830) 2023-01-03 14:49:23 +01:00
Sebastian Golebiewski
4b6765a50c format pre tags (#14913)
Porting: #14889

This fix addresses word wrapping in <pre> tags in the output html files of documentation.
2023-01-03 13:15:36 +01:00
Karol Blaszczak
8b4f1d9616 Update benchmark-data.csv (#14794) (#14891)
fixes the FP32 and FP16 swap of results.
authored-by: Michael Frank Hansen <michael.f.hansen@intel.com>
2023-01-03 08:55:57 +01:00
Karol Blaszczak
c6c8ac6a0d DOCS]-workflow-article-titles-tweaks (#14893) 2023-01-03 08:02:46 +01:00
Ilya Lavrenov
56ac14f276 Updated docs for Raspbian OS (#14816)
* Updated docs for Raspbian OS

* Update docs/install_guides/installing-openvino-raspbian.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-03 13:35:33 +08:00
Yuan Xu
d2bd73a7e7 add ways to find samples for PyPI installation (#14658) 2022-12-26 12:58:05 +04:00
Daria Mityagina
827025f8ee Fix some tests (#14434) (#14774)
Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
2022-12-22 20:57:29 +04:00
Daria Mityagina
349d1f6647 [CVS-98877][MX] - NonMaxSuppression opset5 -> opset9 (#14683) 2022-12-22 20:21:40 +04:00
Tatiana Savina
61c9deb284 Release doc updates (#14784)
* apply feedback
* change POT header
* old diagram
2022-12-22 15:40:42 +01:00
Yuan Xu
9a7c0caf6c update version numbers & windows installation (#14777) 2022-12-22 10:31:59 +01:00
Yuan Xu
88166c1c61 Add CentOS back to install archive page for 22/3 (#14625) 2022-12-22 10:30:59 +01:00
Yuan Xu
0990540083 Update Raspbian OS installation for 22/3 (#14628)
* update Raspbian OS installation

* test formatting

* fix formatting

* Apply suggestions from code review

* update version number & package names
2022-12-22 12:59:03 +08:00
Yuan Xu
578e979334 Update macOS archive installation with ARM64 for 22/3 (#14656)
* update macos archive installation with arm

* update python version

* fix formatting

* fix formatting

* update

* remove note

* update package names & version number
2022-12-22 12:58:09 +08:00
Tatiana Savina
791385f140 add warnings (#14776) 2022-12-22 04:54:34 +01:00
Karol Blaszczak
0df7039fe7 DOC-final-benchmark-changes-for-release port 22.3 (#14771) 2022-12-21 18:09:49 +01:00
Tatiana Savina
a18d32a639 delete note (#14769) 2022-12-21 15:42:01 +01:00
Yuan Xu
7deb3293e7 remove a space (#14756) 2022-12-21 17:13:57 +08:00
Karol Blaszczak
d857067aae [DOCS][CPU] Added sparse weights decompression feature description (#14730) (#14749)
port https://github.com/openvinotoolkit/openvino/pull/14730

authored-by: Anton Voronov <anton.voronov@intel.com>
2022-12-21 08:18:54 +01:00
Karol Blaszczak
bd96363730 Docs minor release adjustments port22.3 (#14747)
Update benchmark-data.csv
update external files
update articles, faq included

* hide ovms benchmark
2022-12-20 23:08:09 +01:00
Tatiana Savina
d80f3afe05 DOCS: Add text for doc headers (#14671)
* add placeholder text

* try sphinx format for headers

* update resources and learn OV

* try ref linking

* try ref linking 2

* try ref linking 3

* change links to doc

* fix new line

* move TF frontend to "deployment" TOC st. 1

* move TF frontend to "deployment" TOC st. 2

* fix links for deployment section homepage

* add disclaimer on ARM support

* trying different links to api

* change API link

* Trying to hide an article in TOC

* change top arcticles content

* remove directive for tf article

* fix build error

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2022-12-20 22:17:34 +01:00
12957 changed files with 24037 additions and 45083 deletions

View File

@@ -30,6 +30,7 @@ resources:
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: releases/2022/3
jobs:
- job: LinCC

View File

@@ -37,11 +37,13 @@ resources:
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/openvino_contrib
ref: releases/2022/3
- repository: testdata
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: releases/2022/3
jobs:
- job: CUDAPlugin_Lin

View File

@@ -284,7 +284,7 @@ jobs:
sudo apt-get install --no-install-recommends gnupg -y
echo "deb https://apt.repos.intel.com/openvino/2022 focal main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2022.list
sudo apt-get update -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/intel-openvino-2022.list
sudo apt-get install openvino -y
sudo apt-get install openvino -y || exit 1
# install our local one and make sure the conflicts are resolved
sudo apt-get install --no-install-recommends dpkg-dev -y
rm -r _CPack_Packages

View File

@@ -71,8 +71,6 @@ jobs:
INSTALL_DIR: $(WORK_DIR)\install_pkg
INSTALL_TEST_DIR: $(INSTALL_DIR)\tests
SETUPVARS: $(INSTALL_DIR)\setupvars.bat
IB_DIR: C:\Program Files (x86)\IncrediBuild
IB_TESTCONSOLE: $(IB_DIR)\IBTestConsole.exe
PYTHON_DIR: C:\hostedtoolcache\windows\Python\3.10.7\x64
CMAKE_VERSION: 3.24.0
CMAKE_CMD: $(WORK_DIR)\cmake-$(CMAKE_VERSION)-windows-x86_64\cmake-$(CMAKE_VERSION)-windows-x86_64\bin\cmake.exe
@@ -122,12 +120,6 @@ jobs:
set
displayName: 'System info'
- script: |
curl -O https://openvinoweb.z5.web.core.windows.net/incredibuild/install_ib_console.bat
call install_ib_console.bat
workingDirectory: $(WORK_DIR)
displayName: 'Install IncrediBuild'
- checkout: self
clean: true
lfs: false
@@ -201,8 +193,8 @@ jobs:
- script: |
set PATH=$(WORK_DIR)\ninja-win;%PATH%
call "$(MSVS_VARS_PATH)" && "C:\Program Files (x86)\IncrediBuild\BuildConsole.exe" /COMMAND="$(CMAKE_CMD) --build $(BUILD_DIR) --config Release"
displayName: 'Build Win - IB'
call "$(MSVS_VARS_PATH)" && $(CMAKE_CMD) --build $(BUILD_DIR) --config Release"
displayName: 'Build Win'
- script: dir $(REPO_DIR)\bin\ /s
displayName: 'List bin files'
@@ -302,8 +294,6 @@ jobs:
displayName: 'Transformations Tests'
continueOnError: false
# set PATH=$(IB_DIR);%PATH%
# call $(SETUPVARS) && "$(IB_TESTCONSOLE)" $(INSTALL_TEST_DIR)\InferenceEngineUnitTests.exe --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-InferenceEngineUnitTests-IB.xml
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\InferenceEngineUnitTests --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-InferenceEngineUnitTests.xml
displayName: 'IE UT old'
continueOnError: false
@@ -340,8 +330,6 @@ jobs:
displayName: 'TEMPLATE FuncTests'
continueOnError: false
# set PATH=$(IB_DIR);%PATH%
# call $(SETUPVARS) && "$(IB_TESTCONSOLE)" $(INSTALL_TEST_DIR)\ov_cpu_func_tests.exe --gtest_filter=*smoke*:-*CompareWithRefs/base_size=16_pre_nms_topn=100_post_nms_topn=100_nms_thresh=0.7_feat_stride=1_min_size=1_ratio*:*smoke_GRUSequenceCommonZeroClip/GRUSequenceTest.CompareWithRefs/mode=CONVERT_TO_TI_MAX_SEQ_LEN_CONST_seq_lengths* --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_cpu_func_tests-IB.xml /testlevel=24
- script: call $(SETUPVARS) && $(INSTALL_TEST_DIR)\ov_cpu_func_tests --gtest_filter=*smoke* --gtest_output=xml:$(INSTALL_TEST_DIR)\TEST-ov_cpu_func_tests.xml
displayName: 'CPU FuncTests'
continueOnError: false
@@ -373,8 +361,3 @@ jobs:
buildPlatform: 'x64' # Optional
buildConfiguration: 'Windows' # Optional
#publishRunAttachments: true # Optional
- script: echo Stop IncrediBuild_Agent && net stop IncrediBuild_Agent
displayName: Stop IncrediBuild
continueOnError: true
enabled: false

View File

@@ -30,6 +30,7 @@ resources:
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/testdata
ref: releases/2022/3
jobs:
- job: WinCC
@@ -102,7 +103,6 @@ jobs:
-DSELECTIVE_BUILD=COLLECT ^
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
-DENABLE_CLDNN=OFF ^
-DENABLE_INTEL_GPU=OFF ^
-DENABLE_MULTI=OFF ^
-DENABLE_AUTO=OFF ^
@@ -145,7 +145,6 @@ jobs:
-DSELECTIVE_BUILD_STAT=$(BUILD_DIR)\*.csv ^
-DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
-DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" ^
-DENABLE_CLDNN=OFF ^
-DENABLE_INTEL_GPU=OFF ^
-DENABLE_MULTI=OFF ^
-DENABLE_AUTO=OFF ^

1
.gitattributes vendored
View File

@@ -64,6 +64,7 @@
*.gif filter=lfs diff=lfs merge=lfs -text
*.vsdx filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.svg filter=lfs diff=lfs merge=lfs -text
#POT attributes
tools/pot/tests/data/test_cases_refs/* filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,6 +1,9 @@
name: Documentation
on: [push, pull_request]
env:
DOXY_VER: '1.9.6'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -65,16 +68,9 @@ jobs:
tar -xf doxyrest-2.1.3-linux-amd64.tar.xz
echo "$(pwd)/doxyrest-2.1.3-linux-amd64/bin/" >> $GITHUB_PATH
# install doxygen
mkdir doxygen
cd doxygen
git clone --depth 1 https://github.com/doxygen/doxygen.git -b Release_1_9_2
cmake \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-S doxygen \
-B ../doxygen-build
cmake --build ../doxygen-build -j`nproc`
sudo cmake --build ../doxygen-build --target install
wget https://www.doxygen.nl/files/doxygen-$DOXY_VER.linux.bin.tar.gz
tar -xzf doxygen-$DOXY_VER.linux.bin.tar.gz
echo "$(pwd)/doxygen-$DOXY_VER/bin/" >> $GITHUB_PATH
- name: CMake doc
run: |

View File

@@ -27,22 +27,19 @@ jobs:
submodules: recursive
lfs: true
- name: Check cmake
run: |
which cmake
cmake --version
- name: Install OpenCL
uses: awalsh128/cache-apt-pkgs-action@v1.2.4
if: runner.os == 'Linux'
with:
packages: ocl-icd-opencl-dev opencl-headers
version: 3.0
- name: CMake
run: |
mkdir build
cd build
cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release ..
- name: CMake configure
run: cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release -B build
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: Build snippets
run: |
cmake --build . --target ie_docs_snippets -j${{ steps.cpu-cores.outputs.count }}
working-directory: build
run: cmake --build build --target ie_docs_snippets -j${{ steps.cpu-cores.outputs.count }}

View File

@@ -2,10 +2,15 @@ name: MO
on:
push:
paths:
- 'openvino/tools/mo/**'
- 'tools/mo/**'
- '.github/workflows/mo.yml'
branches:
- 'master'
- 'releases/**'
pull_request:
paths:
- 'openvino/tools/mo/**'
- 'tools/mo/**'
- '.github/workflows/mo.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -17,53 +22,36 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.10'
- name: Cache pip
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('openvino/tools/mo/requirements*.txt') }}
key: ${{ runner.os }}-pip-${{ hashFiles('tools/mo/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
# tensorflow 1.15 causes modules import
# errors, most likely due to https://github.com/PyCQA/pylint/issues/2603
# for tensorflow.core.framework and tensorflow.contrib
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
# For UT
pip install unittest-xml-reporting==3.0.2
# MO requirements
pip install -r requirements.txt
pip install -r requirements_mxnet.txt
pip install -r requirements_caffe.txt
pip install -r requirements_kaldi.txt
pip install -r requirements_onnx.txt
pip install -r requirements_tf2.txt
pip install -r requirements_dev.txt
# requrements for CMake
sudo apt update
sudo apt --assume-yes install libusb-1.0-0-dev
working-directory: openvino/tools/mo
working-directory: tools/mo
- name: Pylint
run: pylint -d C,R,W openvino/tools/mo/ openvino/tools/mo/mo.py
working-directory: openvino/tools/mo
- name: CMake
run: |
mkdir build
cd build
cmake ..
- name: UT
run: |
export PYTHONPATH=$PYTHONPATH:`pwd`
export MO_ROOT=`pwd`
env
mkdir ../mo-ut-logs
python3 -m xmlrunner discover -p *_test.py --output=../mo-ut-logs
working-directory: openvino/tools/mo
run: pylint -d C,R,W openvino/tools/mo
working-directory: tools/mo

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -107,7 +107,10 @@ endif()
add_subdirectory(thirdparty)
add_subdirectory(src)
add_subdirectory(samples)
if(ENABLE_SAMPLES OR ENABLE_TESTS OR ENABLE_COMPILE_TOOL)
add_subdirectory(samples)
endif()
# Enable interpreter backend for tests
if (ENABLE_TESTS OR ENABLE_TEMPLATE)

View File

@@ -150,7 +150,7 @@ The latest documentation for OpenVINO™ Toolkit is available [here](https://doc
The list of OpenVINO tutorials:
- [Jupiter notebooks](https://github.com/openvinotoolkit/openvino_notebooks)
- [Jupyter notebooks](https://github.com/openvinotoolkit/openvino_notebooks)
## Products which use OpenVINO

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -101,10 +101,10 @@ function(ov_download_tbb)
if(WIN32 AND X86_64)
# TODO: add target_path to be platform specific as well, to avoid following if
RESOLVE_DEPENDENCY(TBB
ARCHIVE_WIN "tbb2020_617e9a71_win.zip"
ARCHIVE_WIN "tbb2020_81e4471_win.zip"
TARGET_PATH "${TEMP}/tbb"
ENVIRONMENT "TBBROOT"
SHA256 "01cac3cc48705bd52b83a6e1fa1ed95c708928be76160f5b9c5c37f954d56df4"
SHA256 "5e7c9dc430e8a61becd0b149668cb336ff44d0b4f8f823fc695b181880e213d2"
USE_NEW_LOCATION TRUE)
elseif(ANDROID AND X86_64)
RESOLVE_DEPENDENCY(TBB

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -24,7 +24,6 @@ function(set_ci_build_number)
endfunction()
include(features)
include(message)
set_ci_build_number()
@@ -215,6 +214,8 @@ set(CMAKE_POLICY_DEFAULT_CMP0026 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0042 NEW)
# CMake 3.9+: `RPATH` settings on macOS do not affect `install_name`.
set(CMAKE_POLICY_DEFAULT_CMP0068 NEW)
# CMake 3.12+: find_package() uses <PackageName>_ROOT variables.
set(CMAKE_POLICY_DEFAULT_CMP0074 NEW)
# CMake 3.13+: option() honors normal variables.
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
# CMake 3.22+ :cmake_dependent_option() supports full Condition Syntax

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,64 +1,81 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
if(WIN32)
set(PROGRAMFILES_ENV "ProgramFiles(X86)")
file(TO_CMAKE_PATH $ENV{${PROGRAMFILES_ENV}} PROGRAMFILES)
set(UWP_SDK_PATH "${PROGRAMFILES}/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/x64")
message(STATUS "Trying to find apivalidator in: ${UWP_SDK_PATH}")
find_host_program(UWP_API_VALIDATOR
set(WDK_PATHS "${PROGRAMFILES}/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/x64"
"${PROGRAMFILES}/Windows Kits/10/bin/x64")
message(STATUS "Trying to find apivalidator in: ")
foreach(wdk_path IN LISTS WDK_PATHS)
message(" * ${wdk_path}")
endforeach()
find_host_program(ONECORE_API_VALIDATOR
NAMES apivalidator
PATHS "${UWP_SDK_PATH}"
DOC "ApiValidator for UWP compliance")
PATHS ${WDK_PATHS}
DOC "ApiValidator for OneCore compliance")
if(UWP_API_VALIDATOR)
message(STATUS "Found apivalidator: ${UWP_API_VALIDATOR}")
if(ONECORE_API_VALIDATOR)
message(STATUS "Found apivalidator: ${ONECORE_API_VALIDATOR}")
endif()
endif()
function(_ie_add_api_validator_post_build_step_recursive)
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "" ${ARGN})
list(APPEND API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGET})
set(API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGETS} PARENT_SCOPE)
get_target_property(IS_IMPORTED ${API_VALIDATOR_TARGET} IMPORTED)
if(IS_IMPORTED)
return()
endif()
get_target_property(LIBRARY_TYPE ${API_VALIDATOR_TARGET} TYPE)
if(LIBRARY_TYPE STREQUAL "EXECUTABLE" OR LIBRARY_TYPE STREQUAL "SHARED_LIBRARY")
get_target_property(LINKED_LIBRARIES ${API_VALIDATOR_TARGET} LINK_LIBRARIES)
if(LINKED_LIBRARIES)
foreach(ITEM IN LISTS LINKED_LIBRARIES)
if(NOT TARGET ${ITEM})
continue()
endif()
get_target_property(LIBRARY_TYPE_DEPENDENCY ${ITEM} TYPE)
if(LIBRARY_TYPE_DEPENDENCY STREQUAL "SHARED_LIBRARY")
_ie_add_api_validator_post_build_step_recursive(TARGET ${ITEM})
endif()
endforeach()
endif()
if(LIBRARY_TYPE MATCHES "^(SHARED_LIBRARY|MODULE_LIBRARY|EXECUTABLE)$" AND
NOT ${API_VALIDATOR_TARGET} IN_LIST API_VALIDATOR_TARGETS)
list(APPEND API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGET})
endif()
# keep checks target list to track cyclic dependencies, leading to infinite recursion
list(APPEND checked_targets ${API_VALIDATOR_TARGET})
if(NOT LIBRARY_TYPE STREQUAL "INTERFACE_LIBRARY")
get_target_property(LINKED_LIBRARIES ${API_VALIDATOR_TARGET} LINK_LIBRARIES)
else()
set(LINKED_LIBRARIES)
endif()
get_target_property(INTERFACE_LINKED_LIBRARIES ${API_VALIDATOR_TARGET} INTERFACE_LINK_LIBRARIES)
foreach(library IN LISTS LINKED_LIBRARIES INTERFACE_LINKED_LIBRARIES)
if(TARGET "${library}")
get_target_property(orig_library ${library} ALIASED_TARGET)
if(orig_library IN_LIST checked_targets OR library IN_LIST checked_targets)
# in case of cyclic dependencies, we need to skip current target
continue()
endif()
if(TARGET "${orig_library}")
_ie_add_api_validator_post_build_step_recursive(TARGET ${orig_library})
else()
_ie_add_api_validator_post_build_step_recursive(TARGET ${library})
endif()
endif()
endforeach()
set(API_VALIDATOR_TARGETS ${API_VALIDATOR_TARGETS} PARENT_SCOPE)
endfunction()
set(VALIDATED_LIBRARIES "" CACHE INTERNAL "")
set(VALIDATED_TARGETS "" CACHE INTERNAL "")
function(_ov_add_api_validator_post_build_step)
set(UWP_API_VALIDATOR_APIS "${PROGRAMFILES}/Windows Kits/10/build/universalDDIs/x64/UniversalDDIs.xml")
set(UWP_API_VALIDATOR_EXCLUSION "${UWP_SDK_PATH}/BinaryExclusionlist.xml")
find_file(ONECORE_API_VALIDATOR_APIS NAMES UniversalDDIs.xml
PATHS "${PROGRAMFILES}/Windows Kits/10/build/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/universalDDIs/x64"
"${PROGRAMFILES}/Windows Kits/10/build/universalDDIs/x64"
DOC "Path to UniversalDDIs.xml file")
find_file(ONECORE_API_VALIDATOR_EXCLUSION NAMES BinaryExclusionlist.xml
PATHS ${WDK_PATHS}
DOC "Path to BinaryExclusionlist.xml file")
if((NOT UWP_API_VALIDATOR) OR (WINDOWS_STORE OR WINDOWS_PHONE))
if((NOT ONECORE_API_VALIDATOR) OR (WINDOWS_STORE OR WINDOWS_PHONE))
return()
endif()
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "" ${ARGN})
cmake_parse_arguments(API_VALIDATOR "" "TARGET" "EXTRA" "" ${ARGN})
if(NOT API_VALIDATOR_TARGET)
message(FATAL_ERROR "RunApiValidator requires TARGET to validate!")
@@ -69,74 +86,81 @@ function(_ov_add_api_validator_post_build_step)
endif()
# collect targets
_ie_add_api_validator_post_build_step_recursive(TARGET ${API_VALIDATOR_TARGET})
if (API_VALIDATOR_EXTRA)
foreach(target IN LISTS API_VALIDATOR_EXTRA)
_ie_add_api_validator_post_build_step_recursive(TARGET ${target})
endforeach()
endif()
# remove targets which were tested before
foreach(target IN LISTS API_VALIDATOR_TARGETS)
list(FIND VALIDATED_LIBRARIES ${target} index)
if (NOT index EQUAL -1)
list(APPEND VALIDATED_TARGETS ${target})
endif()
if(TARGET "${target}")
get_target_property(orig_target ${target} ALIASED_TARGET)
list(FIND VALIDATED_LIBRARIES ${orig_target} index)
if (NOT index EQUAL -1)
list(APPEND VALIDATED_TARGETS ${target})
endif()
endif()
endforeach()
foreach(item IN LISTS VALIDATED_TARGETS)
list(REMOVE_ITEM API_VALIDATOR_TARGETS ${item})
endforeach()
list(REMOVE_DUPLICATES API_VALIDATOR_TARGETS)
if(NOT API_VALIDATOR_TARGETS)
return()
endif()
# apply check
macro(api_validator_get_target_name)
get_target_property(IS_IMPORTED ${target} IMPORTED)
get_target_property(is_imported ${target} IMPORTED)
get_target_property(orig_target ${target} ALIASED_TARGET)
if(IS_IMPORTED)
get_target_property(target_location ${target} LOCATION)
get_filename_component(target_name "${target_location}" NAME_WE)
if(is_imported)
get_target_property(imported_configs ${target} IMPORTED_CONFIGURATIONS)
foreach(imported_config RELEASE RELWITHDEBINFO DEBUG)
if(imported_config IN_LIST imported_configs)
get_target_property(target_location ${target} IMPORTED_LOCATION_${imported_config})
get_filename_component(target_name "${target_location}" NAME_WE)
break()
endif()
endforeach()
unset(imported_configs)
elseif(TARGET "${orig_target}")
set(target_name ${orig_target})
set(target_location $<TARGET_FILE:${orig_target}>)
else()
set(target_name ${target})
set(target_location $<TARGET_FILE:${target}>)
endif()
unset(orig_target)
unset(is_imported)
endmacro()
foreach(target IN LISTS API_VALIDATOR_TARGETS)
api_validator_get_target_name()
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.21 AND OV_GENERATOR_MULTI_CONFIG)
set(output_file "${CMAKE_BINARY_DIR}/api_validator/$<CONFIG>/${target_name}.txt")
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.20 AND OV_GENERATOR_MULTI_CONFIG)
set(output_file "${OpenVINO_BINARY_DIR}/api_validator/$<CONFIG>/${target_name}.txt")
else()
set(output_file "${CMAKE_BINARY_DIR}/api_validator/${target_name}.txt")
set(output_file "${OpenVINO_BINARY_DIR}/api_validator/${target_name}.txt")
endif()
add_custom_command(TARGET ${API_VALIDATOR_TARGET} POST_BUILD
COMMAND ${CMAKE_COMMAND} --config $<CONFIG>
-D UWP_API_VALIDATOR=${UWP_API_VALIDATOR}
-D UWP_API_VALIDATOR_TARGET=$<TARGET_FILE:${target}>
-D UWP_API_VALIDATOR_APIS=${UWP_API_VALIDATOR_APIS}
-D UWP_API_VALIDATOR_EXCLUSION=${UWP_API_VALIDATOR_EXCLUSION}
-D UWP_API_VALIDATOR_OUTPUT=${output_file}
list(APPEND post_build_commands
${CMAKE_COMMAND} --config $<CONFIG>
-D ONECORE_API_VALIDATOR=${ONECORE_API_VALIDATOR}
-D ONECORE_API_VALIDATOR_TARGET=${target_location}
-D ONECORE_API_VALIDATOR_APIS=${ONECORE_API_VALIDATOR_APIS}
-D ONECORE_API_VALIDATOR_EXCLUSION=${ONECORE_API_VALIDATOR_EXCLUSION}
-D ONECORE_API_VALIDATOR_OUTPUT=${output_file}
-D CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-P "${IEDevScripts_DIR}/api_validator/api_validator_run.cmake"
BYPRODUCTS ${output_file}
COMMENT "[apiValidator] Check ${target_name} for OneCore compliance"
VERBATIM)
-P "${IEDevScripts_DIR}/api_validator/api_validator_run.cmake")
list(APPEND byproducts_files ${output_file})
unset(target_name)
unset(target_location)
endforeach()
add_custom_command(TARGET ${API_VALIDATOR_TARGET} POST_BUILD
COMMAND ${post_build_commands}
BYPRODUCTS ${byproducts_files}
COMMENT "[apiValidator] Check ${API_VALIDATOR_TARGET} and dependencies for OneCore compliance"
VERBATIM)
# update list of validated libraries
list(APPEND VALIDATED_LIBRARIES ${API_VALIDATOR_TARGETS})
set(VALIDATED_LIBRARIES "${VALIDATED_LIBRARIES}" CACHE INTERNAL "" FORCE)
list(APPEND VALIDATED_TARGETS ${API_VALIDATOR_TARGETS})
set(VALIDATED_TARGETS "${VALIDATED_TARGETS}" CACHE INTERNAL "" FORCE)
endfunction()
#

View File

@@ -1,12 +1,12 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
cmake_policy(SET CMP0012 NEW)
foreach(var UWP_API_VALIDATOR UWP_API_VALIDATOR_TARGET
UWP_API_VALIDATOR_APIS UWP_API_VALIDATOR_EXCLUSION
UWP_API_VALIDATOR_OUTPUT CMAKE_TOOLCHAIN_FILE)
foreach(var ONECORE_API_VALIDATOR ONECORE_API_VALIDATOR_TARGET
ONECORE_API_VALIDATOR_APIS ONECORE_API_VALIDATOR_EXCLUSION
ONECORE_API_VALIDATOR_OUTPUT CMAKE_TOOLCHAIN_FILE)
if(NOT DEFINED ${var})
message(FATAL_ERROR "Variable ${var} is not defined")
endif()
@@ -14,18 +14,18 @@ endforeach()
# create command
if(NOT EXISTS "${UWP_API_VALIDATOR_APIS}")
message(FATAL_ERROR "${UWP_API_VALIDATOR_APIS} does not exist")
if(NOT EXISTS "${ONECORE_API_VALIDATOR_APIS}")
message(FATAL_ERROR "${ONECORE_API_VALIDATOR_APIS} does not exist")
endif()
set(command "${UWP_API_VALIDATOR}"
-SupportedApiXmlFiles:${UWP_API_VALIDATOR_APIS}
-DriverPackagePath:${UWP_API_VALIDATOR_TARGET})
if(EXISTS "${UWP_API_VALIDATOR_EXCLUSION}")
set(command "${ONECORE_API_VALIDATOR}"
-SupportedApiXmlFiles:${ONECORE_API_VALIDATOR_APIS}
-DriverPackagePath:${ONECORE_API_VALIDATOR_TARGET})
if(EXISTS "${ONECORE_API_VALIDATOR_EXCLUSION}")
list(APPEND command
-BinaryExclusionListXmlFile:${UWP_API_VALIDATOR_EXCLUSION}
-BinaryExclusionListXmlFile:${ONECORE_API_VALIDATOR_EXCLUSION}
-StrictCompliance:TRUE)
set(UWP_HAS_BINARY_EXCLUSION ON)
set(ONECORE_HAS_BINARY_EXCLUSION ON)
endif()
# execute
@@ -36,13 +36,13 @@ execute_process(COMMAND ${command}
RESULT_VARIABLE exit_code
OUTPUT_STRIP_TRAILING_WHITESPACE)
file(WRITE "${UWP_API_VALIDATOR_OUTPUT}" "${output_message}\n\n\n${error_message}")
file(WRITE "${ONECORE_API_VALIDATOR_OUTPUT}" "CMAKE COMMAND: ${command}\n\n\n${output_message}\n\n\n${error_message}")
# post-process output
get_filename_component(name "${UWP_API_VALIDATOR_TARGET}" NAME)
get_filename_component(name "${ONECORE_API_VALIDATOR_TARGET}" NAME)
if(NOT UWP_HAS_BINARY_EXCLUSION)
if(NOT ONECORE_HAS_BINARY_EXCLUSION)
if(CMAKE_TOOLCHAIN_FILE MATCHES "onecoreuap.toolchain.cmake$")
# empty since we compile with static MSVC runtime
else()
@@ -66,7 +66,7 @@ endif()
# write output
if(UWP_HAS_BINARY_EXCLUSION AND NOT exit_code EQUAL 0)
if(ONECORE_HAS_BINARY_EXCLUSION AND NOT exit_code EQUAL 0)
message(FATAL_ERROR "${error_message}")
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -66,6 +66,10 @@ function(add_clang_format_target TARGET_NAME)
continue()
endif()
if(IS_DIRECTORY "${source_file}")
message(FATAL_ERROR "Directory ${source_file} cannot be passed to clang-format")
endif()
file(RELATIVE_PATH source_file_relative "${CMAKE_CURRENT_SOURCE_DIR}" "${source_file}")
set(output_file "${CMAKE_CURRENT_BINARY_DIR}/clang_format/${source_file_relative}.clang")
string(REPLACE ".." "__" output_file "${output_file}")

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -363,6 +363,8 @@ else()
endif()
endif()
check_cxx_compiler_flag("-Wunused-but-set-variable" UNUSED_BUT_SET_VARIABLE_SUPPORTED)
# Links provided libraries and include their INTERFACE_INCLUDE_DIRECTORIES as SYSTEM
function(link_system_libraries TARGET_NAME)
set(MODE PRIVATE)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -31,7 +31,15 @@ function (GetNameAndUrlToDownload name url archive_name_unified archive_name_win
endif()
set (${name} ${archive_name} PARENT_SCOPE)
set (${url} "thirdparty/${PLATFORM_FOLDER}/${archive_name}" PARENT_SCOPE)
set(HDDL_DEPENDENCIES "")
string(REGEX MATCH "hddl_.*_19.*" HDDL_DEPENDENCIES ${archive_name})
if(NOT ${HDDL_DEPENDENCIES} EQUAL "")
set (${url} "${archive_name}" PARENT_SCOPE)
else()
set (${url} "thirdparty/${PLATFORM_FOLDER}/${archive_name}" PARENT_SCOPE)
endif()
endif()
endfunction(GetNameAndUrlToDownload)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -166,7 +166,7 @@ macro(ov_add_frontend)
add_library(openvino::frontend::${OV_FRONTEND_NAME} ALIAS ${TARGET_NAME})
endif()
# Shutdown protobuf when unloading the front dynamic library
# Shutdown protobuf when unloading the frontend dynamic library
if(proto_files AND BUILD_SHARED_LIBS)
target_link_libraries(${TARGET_NAME} PRIVATE ov_protobuf_shutdown)
endif()
@@ -201,8 +201,6 @@ macro(ov_add_frontend)
ie_add_vs_version_file(NAME ${TARGET_NAME}
FILEDESCRIPTION ${OV_FRONTEND_FILEDESCRIPTION})
ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
target_link_libraries(${TARGET_NAME} PUBLIC openvino::runtime)
target_link_libraries(${TARGET_NAME} PRIVATE ${OV_FRONTEND_LINK_LIBRARIES})
ov_add_library_version(${TARGET_NAME})
@@ -235,10 +233,15 @@ macro(ov_add_frontend)
endif()
add_clang_format_target(${TARGET_NAME}_clang FOR_TARGETS ${TARGET_NAME}
EXCLUDE_PATTERNS ${PROTO_SRCS} ${PROTO_HDRS})
EXCLUDE_PATTERNS ${PROTO_SRCS} ${PROTO_HDRS} ${proto_files})
add_dependencies(ov_frontends ${TARGET_NAME})
# must be called after all target_link_libraries
ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
# installation
if(NOT OV_FRONTEND_SKIP_INSTALL)
if(BUILD_SHARED_LIBS)
# Note:

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2022 Intel Corporation
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,27 +0,0 @@
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
if(UNIX AND ENABLE_ERROR_HIGHLIGHT)
function(message)
string(ASCII 27 ESC)
set(RESET "${ESC}[m")
set(RED "${ESC}[31;1m")
set(YELLOW "${ESC}[33;1m")
list(GET ARGV 0 MessageType)
list(REMOVE_AT ARGV 0)
foreach(arg IN LISTS ARGV)
set(_msg "${_msg}${arg}")
endforeach()
if(MessageType STREQUAL FATAL_ERROR OR MessageType STREQUAL SEND_ERROR)
_message(${MessageType} "${RED}${_msg}${RESET}")
elseif(MessageType STREQUAL WARNING)
_message(${MessageType} "${YELLOW}${_msg}${RESET}")
else()
_message(${MessageType} "${_msg}")
endif()
endfunction()
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2022 Intel Corporation
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2022 Intel Corporation
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2022 Intel Corporation
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2022 Intel Corporation
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# Target system specific flags

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -14,11 +14,9 @@ ie_option (ENABLE_COMPILE_TOOL "Enables compile_tool" ON)
ie_option (ENABLE_STRICT_DEPENDENCIES "Skip configuring \"convinient\" dependencies for efficient parallel builds" ON)
ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for OpenVINO Runtime" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)
ie_dependent_option (ENABLE_INTEL_GPU "GPU plugin for OpenVINO Runtime on Intel GPU" ON "ENABLE_CLDNN" OFF)
ie_dependent_option (ENABLE_INTEL_GPU "GPU OpenCL-based plugin for OpenVINO Runtime" ON "X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE;NOT WINDOWS_PHONE" OFF)
if (NOT ENABLE_CLDNN OR ANDROID OR
(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
if (ANDROID OR (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
# oneDNN doesn't support old compilers and android builds for now, so we'll
# build GPU plugin without oneDNN
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT OFF)
@@ -26,7 +24,7 @@ else()
set(ENABLE_ONEDNN_FOR_GPU_DEFAULT ON)
endif()
ie_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT})
ie_dependent_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT} "ENABLE_INTEL_GPU" OFF)
ie_option (ENABLE_PROFILING_ITT "Build with ITT tracing. Optionally configure pre-built ittnotify library though INTEL_VTUNE_DIR variable." OFF)
@@ -43,8 +41,6 @@ In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should con
Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv" OFF
ALLOWED_VALUES ON OFF COLLECT)
ie_option(ENABLE_ERROR_HIGHLIGHT "Highlight errors and warnings during compile time" ON)
ie_option (ENABLE_DOCS "Build docs using Doxygen" OFF)
find_package(PkgConfig QUIET)
@@ -132,7 +128,7 @@ ie_dependent_option(ENABLE_TBB_RELEASE_ONLY "Only Release TBB libraries are link
if(LINUX)
# Debian packages are enabled on Ubuntu systems
# so, system TBB / pugixml can be tried for usage
# so, system TBB / pugixml / OpenCL can be tried for usage
set(ENABLE_SYSTEM_LIBS_DEFAULT ON)
else()
set(ENABLE_SYSTEM_LIBS_DEFAULT OFF)
@@ -145,6 +141,7 @@ else()
set(ENABLE_SYSTEM_TBB_DEFAULT ${ENABLE_SYSTEM_LIBS_DEFAULT})
endif()
# users wants to use his own TBB version, specific either via env vars or cmake options
if(DEFINED ENV{TBBROOT} OR DEFINED ENV{TBB_DIR} OR DEFINED TBB_DIR OR DEFINED TBBROOT)
set(ENABLE_SYSTEM_TBB_DEFAULT OFF)
endif()
@@ -154,6 +151,8 @@ ie_dependent_option (ENABLE_SYSTEM_PUGIXML "use the system copy of pugixml" ${EN
ie_dependent_option (ENABLE_SYSTEM_TBB "use the system version of TBB" ${ENABLE_SYSTEM_TBB_DEFAULT} "THREADING MATCHES TBB" OFF)
ie_dependent_option (ENABLE_SYSTEM_OPENCL "Use the system version of OpenCL" ${ENABLE_SYSTEM_LIBS_DEFAULT} "BUILD_SHARED_LIBS;ENABLE_INTEL_GPU" OFF)
ie_option (ENABLE_DEBUG_CAPS "enable OpenVINO debug capabilities at runtime" OFF)
ie_dependent_option (ENABLE_GPU_DEBUG_CAPS "enable GPU debug capabilities at runtime" ON "ENABLE_DEBUG_CAPS" OFF)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -4,7 +4,7 @@ Comment: OpenVINO toolkit copyright file for Debian packaging
Files: *
Comment: oneAPI Deep Neural Network Library (oneDNN)
Copyright: 2016-2019 Intel Corporation
Copyright: 2016-2023 Intel Corporation
2018 YANDEX LLC
2020 Arm Limited and affiliates
License: Apache
@@ -149,7 +149,7 @@ License:
Files: *
Comment: Intel(R) Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API
Copyright: (c) 2019 Intel Corporation. All rights reserved.
Copyright: (c) 2019-2023 Intel Corporation. All rights reserved.
License:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -625,12 +625,12 @@ License:
Files: *
Comment: Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM)
Driver (src/gpu/jit/ngen/npack/{elf_structs,hash}.hpp)
Copyright: (c) 2018 Intel Corporation
Copyright: (c) 2018-2023 Intel Corporation
License: MIT
Files: *
Comment: Intel(R) Graphics Compiler (src/gpu/jit/ngen/npack/neo_structs.hpp)
Copyright:(c) 2019 Intel Corporation
Copyright:(c) 2019-2023 Intel Corporation
License: MIT
Files: *

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -54,6 +54,8 @@ macro(ov_cpack_settings)
NOT item STREQUAL "gna" AND
# myriad is EOL in 2023.0
NOT item STREQUAL "myriad" AND
# don't install Intel OpenMP during debian
NOT item STREQUAL "omp" AND
# even for case of system TBB we have installation rules for wheels packages
# so, need to skip this explicitly
NOT item MATCHES "^tbb(_dev)?$" AND
@@ -92,8 +94,9 @@ macro(ov_cpack_settings)
# 2022 release series
# - 2022.1.0 is the last public release with debian packages from Intel install team
# - 2022.1.1, 2022.2 do not have debian packages enabled, distributed only as archives
# - 2022.3 is the first release where RPM updated packages are introduced
2022.1.0)
# - 2022.3 is the first release where Debian updated packages are introduced, others 2022.3.X are LTS
2022.3.0
)
#
# core: base dependency for each component
@@ -320,6 +323,7 @@ macro(ov_cpack_settings)
set(samples_build_deps "cmake, g++, gcc, libc6-dev, make, pkg-config")
set(samples_build_deps_suggest "libopencv-core-dev, libopencv-imgproc-dev, libopencv-imgcodecs-dev")
set(samples_opencl_suggest "ocl-icd-opencl-dev, opencl-headers")
if(OV_GLIBC_VERSION VERSION_LESS_EQUAL 2.27)
# Ubuntu 18.04, Debian 9 cases
set(json_library "nlohmann-json-dev")
@@ -331,11 +335,12 @@ macro(ov_cpack_settings)
set(CPACK_COMPONENT_SAMPLES_DESCRIPTION "Intel(R) Distribution of OpenVINO(TM) Toolkit C / C++ Samples")
set(CPACK_COMPONENT_SAMPLES_DEPENDS "${OV_CPACK_COMP_CORE_DEV}")
set(CPACK_DEBIAN_SAMPLES_PACKAGE_NAME "openvino-samples-${cpack_name_ver}")
set(CPACK_DEBIAN_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${all_plugins_suggest}")
set(CPACK_DEBIAN_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${samples_opencl_suggest}, ${all_plugins_suggest}")
set(CPACK_DEBIAN_SAMPLES_PACKAGE_DEPENDS "libgflags-dev, zlib1g-dev, ${json_library}")
# can be skipped with --no-install-recommends
set(CPACK_DEBIAN_SAMPLES_PACKAGE_RECOMMENDS "${samples_build_deps}")
set(CPACK_DEBIAN_SAMPLES_PACKAGE_ARCHITECTURE "all")
ov_debian_generate_conflicts(${OV_CPACK_COMP_CPP_SAMPLES} ${conflicting_versions})
set(samples_copyright "generic")
# python_samples

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -40,6 +40,8 @@ macro(ov_cpack_settings)
NOT item STREQUAL "gna" AND
# myriad is EOL in 2023.0
NOT item STREQUAL "myriad" AND
# don't install Intel OpenMP during rpm
NOT item STREQUAL "omp" AND
# even for case of system TBB we have installation rules for wheels packages
# so, need to skip this explicitly
NOT item MATCHES "^tbb(_dev)?$" AND
@@ -78,8 +80,8 @@ macro(ov_cpack_settings)
# 2022 release series
# - 2022.1.0 is the last public release with rpm packages from Intel install team
# - 2022.1.1, 2022.2 do not have rpm packages enabled, distributed only as archives
# - 2022.3 is the first release where RPM updated packages are introduced
# 2022.1.0
# - 2022.3 is the first release where RPM updated packages are introduced, others 2022.3.X are LTS
2022.3.0
)
find_host_program(rpmlint_PROGRAM NAMES rpmlint DOC "Path to rpmlint")
@@ -279,6 +281,7 @@ macro(ov_cpack_settings)
set(samples_build_deps "cmake3, gcc-c++, gcc, glibc-devel, make, pkgconf-pkg-config")
set(samples_build_deps_suggest "opencv-devel >= 3.0")
set(samples_opencl_deps_suggest "ocl-icd-devel, opencl-headers")
# c_samples / cpp_samples
set(CPACK_COMPONENT_SAMPLES_DESCRIPTION "Intel(R) Distribution of OpenVINO(TM) Toolkit C / C++ Samples")
@@ -286,9 +289,10 @@ macro(ov_cpack_settings)
set(samples_package "${CPACK_RPM_SAMPLES_PACKAGE_NAME} = ${cpack_full_ver}")
# SUGGESTS may be unsupported, it's part of RPM 4.12.0 (Sep 16th 2014) only
# see https://rpm.org/timeline.html
set(CPACK_RPM_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${plugin_packages}")
set(CPACK_RPM_SAMPLES_PACKAGE_SUGGESTS "${samples_build_deps_suggest}, ${samples_opencl_deps_suggest}, ${plugin_packages}")
set(CPACK_RPM_SAMPLES_PACKAGE_REQUIRES "${core_dev_package}, ${samples_build_deps}, gflags-devel, json-devel, zlib-devel")
set(CPACK_RPM_SAMPLES_PACKAGE_ARCHITECTURE "noarch")
ov_rpm_generate_conflicts(${OV_CPACK_COMP_CPP_SAMPLES} ${conflicting_versions})
ov_rpm_add_rpmlint_suppression("${OV_CPACK_COMP_CPP_SAMPLES}"
# contains samples source codes

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# FindOpenVINO
@@ -274,6 +274,14 @@ endfunction()
# OpenVINO config
#
cmake_policy(PUSH)
# we need CMP0057 to allow IN_LIST in if() command
if(POLICY CMP0057)
cmake_policy(SET CMP0057 NEW)
else()
message(FATAL_ERROR "OpenVINO requires CMake 3.3 or newer")
endif()
# need to store current PACKAGE_PREFIX_DIR, because it's overwritten by sub-package one
set(_ov_package_prefix_dir "${PACKAGE_PREFIX_DIR}")
@@ -289,10 +297,30 @@ _ov_find_dependency(Threads)
unset(_OV_ENABLE_OPENVINO_BUILD_SHARED)
set(RUNTIME_AND_FRONTEND_TARGETS openvino::runtime openvino::runtime::c
openvino::frontend::onnx openvino::frontend::paddle
openvino::frontend::tensorflow)
if(NOT TARGET openvino)
set(_ov_as_external_package ON)
include("${CMAKE_CURRENT_LIST_DIR}/OpenVINOTargets.cmake")
foreach(target ${RUNTIME_AND_FRONTEND_TARGETS})
if(TARGET ${target})
get_target_property(ORIGINAL_NAME ${target} ALIASED_TARGET)
if (ORIGINAL_NAME MATCHES "ORIGINAL_NAME-NOTFOUND")
set (ORIGINAL_NAME ${target})
endif()
get_target_property(imported_configs ${target} IMPORTED_CONFIGURATIONS)
if(RELWITHDEBINFO IN_LIST imported_configs)
set (MAP_CONFIG RELWITHDEBINFO)
else()
set (MAP_CONFIG RELEASE)
endif()
set_property(TARGET ${ORIGINAL_NAME} PROPERTY MAP_IMPORTED_CONFIG_RELWITHDEBINFO ${MAP_CONFIG})
endif()
endforeach()
# WA for cmake version < 3.16 which does not export
# IMPORTED_LINK_DEPENDENT_LIBRARIES_** properties if no PUBLIC dependencies for the library
if((THREADING STREQUAL "TBB" OR THREADING STREQUAL "TBB_AUTO") AND TBB_FOUND)
@@ -332,8 +360,7 @@ endif()
# Apply common functions
#
foreach(target openvino::runtime openvino::runtime::c
openvino::frontend::onnx openvino::frontend::paddle openvino::frontend::tensorflow)
foreach(target ${RUNTIME_AND_FRONTEND_TARGETS})
if(TARGET ${target} AND _ov_as_external_package)
_ov_target_no_deprecation_error(${target})
endif()
@@ -351,7 +378,10 @@ if(_need_package_name_reset)
unset(_need_package_name_reset)
endif()
unset(RUNTIME_AND_FRONTEND_TARGETS)
unset(${CMAKE_FIND_PACKAGE_NAME}_IR_FOUND)
unset(${CMAKE_FIND_PACKAGE_NAME}_Paddle_FOUND)
unset(${CMAKE_FIND_PACKAGE_NAME}_ONNX_FOUND)
unset(${CMAKE_FIND_PACKAGE_NAME}_TensorFlow_FOUND)
cmake_policy(POP)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Intel Corporation
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

Some files were not shown because too many files have changed in this diff Show More