Commit Graph

115 Commits

Author SHA1 Message Date
Anuj Mittal
ac72b03ce5 openvino-inference-engine: upgrade 2021.4.2 -> 2022.1
Refresh patches, update dependencies and licenses for the new
components.

Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2022.1.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-13 14:08:21 +08:00
Davide Gardenal
19c30d277a open-model-zoo: add COMPATIBLE_HOST to fix build error
Add COMPTIBLE_HOST to fix a build error when using musl,
due to openvino-inference-engine dependency

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-04-05 15:59:12 +08:00
Anuj Mittal
4206f6f5cd open-model-zoo: remove test-generator from DEPENDS
This is no longer listed as a requirement.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-07 13:44:29 +08:00
Ezhilarasan
efaeab8155 ipmctl: upgrade 03.00.00.0427 -> 03.00.00.0429
Signed-off-by: Ezhilarasan <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-03-02 23:01:55 +08:00
ezhilarasan s
0975ec0261 ipmctl: upgrade 03.00.00.0387 -> 03.00.00.0427
Signed-off-by: ezhilarasan s <ezhilarasanx.s@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-12 00:37:48 +08:00
Anuj Mittal
1d9e805c4b openvino-inference-engine: fix upstream check
Match only the release versions and not the ones like 11102021.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
baa68831ed open-model-zoo: upgrade 2021.4.1 -> 2021.4.2
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-19 11:56:08 +08:00
Anuj Mittal
1354a0bfe2 openvino-inference-engine: upgrade 2021.4.1 -> 2021.4.2
Release notes for 2021.4 release are at:
https://www.intel.com/content/www/us/en/developer/articles/release-notes/openvino-2021-4-lts-relnotes.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-19 11:56:08 +08:00
Anuj Mittal
99fd5cb683 ipmctl: dont install /var/log/ipmctl
OE-Core now has a QA check to see if /var/log is empty. Since
/var/log is usually a symlink to /var/volatile/log, anything
installed here won't actually be available.

Remove the directory.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-05 23:49:29 +08:00
Anuj Mittal
e4d0c52cba meta: add explicit branch and protocol to SRC_URI
Add branch name explicitly to SRC_URI where it's not defined and switch
to using https protocol for Github projects.

The change was made using convert_srcuri script for OE-Core.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 12:35:28 +08:00
Anuj Mittal
6c7c0905a8 ipmctl: add DEPENDS on pkgconfig-native
Since oe-core commit 8e26252b45b (layer.conf: Extend recipes not to
install without explict dependencies), some dependencies now need to be
explicit.

ipmctl needs pkgconfig-native so add it to DEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 23:05:03 +08:00
Anuj Mittal
a904c13e7e ipmctl: upgrade 03.00.00.0369 -> 03.00.00.0387
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 00:40:55 +08:00
Anuj Mittal
1acca2a119 open-model-zoo: upgrade 2021.4 -> 2021.4.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-11 23:29:40 +08:00
Anuj Mittal
9c7d9ae240 openvino-inference-engine: upgrade 2021.4 -> 2021.4.1
Release notes:
https://software.intel.com/content/www/us/en/develop/articles/openvino-2021-4-lts-relnotes.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-11 23:29:40 +08:00
Naveen Saini
bfc685697d open-model-zoo: upgrade 2021.3 -> 2021.4
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2021.4

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-09-01 10:16:19 +08:00
Naveen Saini
a9c7df9131 ipmctl: upgrade 03.00.00.0341 -> v03.00.00.0369
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0369

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-09-01 10:16:19 +08:00
Anuj Mittal
011b2d6c19 openvino-inference-engine: upgrade 2021.3 -> 2021.4
Refresh patches and add zlib to DEPENDS. Also fetch pybind11 as it's
needed by ngraph.

Release notes:
https://software.intel.com/content/www/us/en/develop/articles/openvino-2021-4-lts-relnotes.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-27 09:55:39 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Anuj Mittal
0c37f3522f openvino-inference-engine: fix inference engine cmake config
When included in a project using find_package, it goes and looks for
headers and cmake module at an incorrect path.

Make sure that we are able to locate the headers and cmake module file.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-21 00:06:57 +08:00
Changqing Li
eac2b08341 openvino-inference-engine: disable opencl
Temporarily disable opencl since intel-graphics-compiler and vc-intrinsics
compile failed since some api of llvm changed.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-25 13:43:44 +08:00
LiweiSong
89f1ef2e49 openvino-inference-engine/openvino-model-optimizer: update to the latest version
Update openvino to the latest one c5f7ad383e65 ("Fix
license header in Movidius sources") since it is include
a important license change from Intel private License to
Apache2.0 which is allowed external user to disclose it
without limit.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-08 23:41:47 +08:00
Naveen Saini
25798b2cc8 ipmctl: upgrade 03.00.00.0302 -> 03.00.00.0341
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-21 23:20:13 +08:00
Anuj Mittal
e4f4b5b3d0 openvino-inference-engine: fix build with gcc11
Include the header explicitly to avoid failures:

| inference-engine/src/plugin_api/ie_system_conf.h:21:31: error: 'exception_ptr' in namespace 'std' does not name a type; did you mean 'exception'?
|    21 | INFERENCE_ENGINE_API_CPP(std::exception_ptr&) CurrentException();
|      |                               ^~~~~~~~~~~~~

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-07 15:59:02 +08:00
Anuj Mittal
610cdb495c openvino-inference-engine: upgrade 2021.2 -> 2021.3
Release notes:
https://github.com/openvinotoolkit/openvino/releases/tag/2021.3

Remove a patch that isn't needed anymore and refresh the rest. Remove
dependency on onednn as it's using a forked version.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-22 14:42:35 +08:00
Anuj Mittal
9766d5c4e2 open-model-zoo: upgrade 2021.2 -> 2021.3
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-22 14:42:29 +08:00
Robi Buranyi
d847f56b4a ipmctl: support CRLF line endings in EDK2
The EDK2 sources are DOS-style on server (contains CRLF) and this may
cause interop issues on Linux machines (patches do not apply clean) The
standard solution is to use the "dos2unix" bbclass, but that can modify
only files under the ${S} folder - meaning we have to move the edk2
checkout folder from ${S}/../edk2 to ${S}/edk2. Also, the LICENSE file
checksum is going to be impacted by the dos2unix conversion.

Signed-off-by: Robi Buranyi <rburanyi@google.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-13 14:38:54 +08:00
Naveen Saini
f5cbba628b ipmctl: upgrade 02.00.00.3869 -> 03.00.00.0302
Ref:
https://github.com/intel/ipmctl/releases/tag/v03.00.00.0302

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-06 10:09:02 +08:00
Naveen Saini
fa5566a9fd ipmctl: add recipe
ipmctl is a utility for configuring and managing Intel® Optane™ Persistent Memory modules (PMem).

It supports functionality to:

* Discover PMems on the platform.
* Provision the platform memory configuration.
* View and update the firmware on PMems.
* Configure data-at-rest security on PMems.
* Track health and performance of PMems.
* Debug and troubleshoot PMems.
* ipmctl refers to the following interface components:

libipmctl: An Application Programming Interface (API) library for managing PMems.
ipmctl: A Command Line Interface (CLI) application for configuring and managing PMems from the command line.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-01 10:03:45 +08:00
Anuj Mittal
d4b48224ef open-model-zoo: upgrade 2021.1 -> 2021.2
Drop a patch that has been merged and include another that was
accidently left off during the last upgrade.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-04 13:40:55 +08:00
Anuj Mittal
2de1d83580 openvino-inference-engine: enable opencl by default
Make sure that ClDNN runtime is built by default. This would need clang
layer to be included as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-03 15:52:33 +08:00
Anuj Mittal
7aeed42101 openvino: upgrade 2021.1 -> 2021.2
For release notes, see:
https://software.intel.com/content/www/us/en/develop/articles/openvino-relnotes.html

Refresh patches and use the now available option to build against system
version of pugixml.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-12-29 16:35:15 +08:00
Changqing Li
8089e92d77 open-model-zoo: switch shebang to python3
python2 is EOL, so switch shebang to python3

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-02 14:38:59 +08:00
Anuj Mittal
b3b1439c77 open-model-zoo: upgrade 2020.4 -> 2021.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-19 23:32:21 +08:00
Anuj Mittal
4480afe686 openvino-inference-engine: upgrade 2020.4 -> 2021.1
Release notes:
https://software.intel.com/content/www/us/en/develop/articles/openvino-relnotes.html

Update the firmware files and refresh patches as well.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-08 17:27:36 +08:00
sangeeta jain
68a4077bdd open-model-zoo: install python demos as well
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-07 00:20:18 +08:00
Anuj Mittal
df275f45b9 open-model-zoo: upgrade 2020.3 -> 2020.4
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-08-14 09:48:30 +08:00
Anuj Mittal
1937c72e02 openvino-inference-engine: upgrade 2020.3 -> 2020.4
For release notes, see:
https://software.intel.com/content/www/us/en/develop/articles/openvino-relnotes.html

The recipe has been changed to:
 - disable unit tests as they rely on an older version of googletest.
 - remove a patch as it was merged upstream.
 - backport a patch instead of using a local version.
 - refresh other patches.
 - download mkl-dnn separately instead of using the submodule. The
   project downloads a lot of other modules as well and we don't
   want/use those.
 - not download lfs documentation content.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-08-14 09:48:04 +08:00
Anuj Mittal
6da14e539d open-model-zoo: upgrade 2020.1 -> 2020.3
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-24 09:55:44 +08:00
Anuj Mittal
9ddf617311 openvino-inference-engine: fix installation of ngraph cmake
Make sure that cmake files are installed at correct location so they
could be located using find_package.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-24 09:55:44 +08:00
Anuj Mittal
78386dd80b openvino-inference-engine: upgrade 2020.1 -> 2020.3.0
* Point to the renamed repository and change the project name to
  openvino-inference-engine.

* Include ngraph as a submodule instead of using it as a separate
  project.

* Use the new unit tests, the old ones have been deprecated.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-11 15:35:56 +08:00
LiweiSong
7497da8042 dldt-inference-engine: fix int64_t does not name a type compile error
fix compile error:

inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp:60:9: error: 'int64_t' does not name a type
|    60 |         int64_t size;
|       |         ^~~~~~~

include stdint.h to fix it.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-03 15:47:47 +08:00
LiweiSong
e4bbd6967d open-model-zoo: add open-model-zoo
Add open-model-zoo, version 2020.1

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-03 11:24:06 +08:00
Anuj Mittal
dcbe0b912a dldt-inference-engine: fix RDEPENDS when python is enabled
Add required packages from requirements.txt to list of packages on which
we need to RDEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-13 15:22:29 +08:00
Anuj Mittal
af4fdcc321 dldt-inference-engine: fix installation of samples
We don't want to install sample sources. So delete them and install the
binaries instead. Also make sure that we're installing the python
samples and modules at correct location. Remove the tweaks from local
patch and copy in the recipe itself.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-13 15:22:18 +08:00
Anuj Mittal
89c0fe5dce dldt: upgrade 2019r3.1 -> 2020r1
Release notes:
https://software.intel.com/en-us/articles/OpenVINO-RelNotes

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-10 11:29:22 +08:00
Anuj Mittal
9796a61261 dldt-inference-engine: use libdir when installing python modules
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-25 15:03:03 +08:00
Anuj Mittal
369d0a0dc3 dldt-inference-engine: fix DEPENDS
Fix the dependency to be added when ptests are not enabled. Fixes:

| ERROR: Nothing PROVIDES '0' (but /meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb DEPENDS on or otherwise requires it)
| ERROR: Required build target 'dldt-inference-engine' has no buildable providers.
| Missing or unbuildable dependency chain was: ['dldt-inference-engine', '0']

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-01-30 15:05:38 +08:00
Anuj Mittal
19153cb549 dldt-inference-engine: install custom opencl kernels as well
Install the OpenCL kernels and cldnn_global_custom_kernels.xml to allow
specification of OpenCL kernels for custom layers.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-12 09:30:39 +08:00
Chin Huat Ang
2b4876dbab dldt-inference-engine: upgrade 2019r3 -> 2019r3.1
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-01 11:34:08 +08:00
Anuj Mittal
570be75f9a dldt-inference-engine: enable vpu by default
* Make sure that USB udev rules for Intel(R) Movidius(TM) Neural Compute
Stick and Intel(R) Neural Compute Stick 2 are packaged.

* Package vpu firmware only when it is enabled.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-30 12:17:42 +08:00
Martin Jansa
93105b15d1 dldt-inference-engine: remove trailing slash from patchdir params
* There is interesting issue in do_patch, I was debugging strange
  behavior with .bbappend where I've added another small patch.
  And it started failing to configure completely.
  bitbake -e shows that all .patch files are in SRC_URI and
  log.do_patch shows that all were applied, but git diff (as well as
  patches/series) shows only the last one added from the bbappend
  to be applied.

  This was caused by 8 existing patches in .bb file using ;patchdir=../
  and my patch in .bbappend using ;patchdir=.. without slash at the end,
  it should be fixed in quilt (or how do_patch is using it), but for
  now just drop the trailing slash, because 99.9% recipes use ;patchdir=..
  without the slash.

  It's easily reproducible by removing the slash from the last patch
  (without any bbappend).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:05:24 +08:00
Martin Jansa
1a669124ec dldt-inference-engine: use firmware files from SRC_URI
* use the files from SRC_URI instead of fetching them during
  configure
* use the firmware files CMake would download during configure
  when not provided already, I haven't found any changelog to
  find out what's the difference between
  firmware_ma2x8x_784.zip   firmware_ma2x8x_mdk_R9.8.zip
  firmware_ma2450_759W.zip  firmware_ma2450_784.zip
  firmware_mv0262_784.zip   firmware_mv0262_mdk_R9.8.zip
  so to be safe use whatever CMake does and what I was testing
  on raspberrypi4 before (because of missing this fix).

  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_ma2450_759W.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_ma2450_759W.zip ...
  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_ma2x8x_mdk_R9.8.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_ma2x8x_mdk_R9.8.zip ...
  -- Downloading from https://download.01.org/opencv/2019/openvinotoolkit/R3/inference_engine/firmware_mv0262_mdk_R9.8.zip to dldt-inference-engine/2019r3-r0/git/inference-engine/temp/download/firmware_mv0262_mdk_R9.8.zip ...

* add PACKAGECONFIG verbose for VERBOSE_BUILD so it's easier
  to debug which firmware files are being used, in this case:
  log.do_configure will show:
  -- ma2450=../mvnc/MvNCAPI-ma2450.mvcmd
  -- ma2x8x=../mvnc/MvNCAPI-ma2x8x.mvcmd
  -- mv0262=../mvnc/MvNCAPI-mv0262.mvcmd

* the patch is very loosely based on the patch removed here:
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/diff/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch?id=649456856dc38086e7d43d740d68198e3395b067
  but I've reworked it competely to simplify this mess :)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:05:14 +08:00
Martin Jansa
c66d483772 dldt-inference-engine: Add ISSL license for the firmware files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 10:04:52 +08:00
Martin Jansa
147101da18 dldt-inference-engine: return support for VPU
* add PACKAGECONFIG for vpu
* add extra package for firmware files
* tested on rpi4 with NCS2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-25 09:14:03 +08:00
Martin Jansa
fd9d57a992 dldt-inference-engine: install extension headers in includedir instead of share/doc
* otherwise components depending on them won't be able to find them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-24 12:07:30 +08:00
Martin Jansa
8c7406bfdc dldt-inference-engine: add SSTATE_SCAN_FILES to fix CMake files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-24 12:07:30 +08:00
Chin Huat Ang
4684c50cb9 dldt-inference-engine: build clDNN against opencl-icd-loader
Instead of letting clDNN build against intel_ocl_icd prebuilt binaries
under clDNN/common/intel_ocl_icd, configure cmake build to pick up
opencl-icd-loader headers and libraries from staging directory.

Do not set CMAKE_INSTALL_LOCAL_ONLY as it is unused.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 15:05:46 +08:00
Chin Huat Ang
649456856d dldt-inference-engine: update 2019r2 -> 2019r3
Refresh patches so that they apply cleanly on 2019r3.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
b128d14ff6 dldt-inference-engine: disable VPU plugins
VPU plugins are untested, temporarily disable them.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
5c652766e1 dldt-inference-engine: remove DEPENDS mkl-dnn
Inference engine is still downloading and building it's own copy of
mkl-dnn, so remove it from DEPENDS.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:20:21 +08:00
Chin Huat Ang
eff93c1db6 dldt-inference-engine: fix ptest failures
Package libmock_engine.so as part of dldt-inference-engine-ptest and
update run-ptest to set LD_LIBRARY_PATH to fix the following
InferenceEngineUnitTests failures:

  FAIL: 12 tests, listed below:
  FAIL: PluginTest.canCreatePlugin
  FAIL: PluginTest.canCreatePluginUsingSmartPtr
  FAIL: PluginTest.shouldThrowExceptionIfPluginNotExist
  FAIL: PluginTest.canCallErrorHandlerIfNecessary
  FAIL: PluginTest.canForwardPluginEnginePtr
  FAIL: PluginTest.canSetConfiguration
  FAIL: PluginDispatcherTests.canLoadMockPlugin
  FAIL: PluginDispatcherTests.returnsIfLoadSuccessfull
  FAIL: SharedObjectLoaderTests.canLoadExistedPlugin
  FAIL: SharedObjectLoaderTests.canFindExistedMethod
  FAIL: SharedObjectLoaderTests.throwIfMethodNofFoundInLibrary
  FAIL: SharedObjectLoaderTests.canCallExistedMethod

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:19:43 +08:00
Chin Huat Ang
ef18ef563b dldt-inference-engine: add PACKAGECONFIG for python API
Add PACKAGECONFIG[python3] for building dldt-inference-engine-python3
package which contains the inference engine python API.

Also tweak recipe to inherit python3native instead of relying on host
python as building the python API requires python3-cython which might
not be available on the host.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:10 +08:00
Chin Huat Ang
611a831306 dldt-inference-engine: fix clDNN install directory
Install clDNN to /usr/lib to resolve the following inference engine
error when running with GPU plugin:

    [ ERROR ] Failed to create plugin libclDNNPlugin.so for device GPU
    Please, check your environment
    Cannot load library 'libclDNNPlugin.so': libclDNNPlugin.so: cannot open
    shared object file: No such file or directory
    /usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/include/details/os/lin_shared_object_loader.h:36

    /usr/src/debug/dldt-inference-engine/2019r2-r0/git/inference-engine/src/inference_engine/ie_core.cpp:277

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-30 22:28:09 +08:00
Anuj Mittal
90b225ce8a dldt-inference-engine: upgrade 2019r1.1 -> 2019r2
* Release notes:
https://software.intel.com/en-us/articles/OpenVINO-RelNotes

* Enable unit tests to be built and tested using ptest mechanism.

* Include patches from Clear Linux for build fixes.

* Switch to using python3 and threading to using TBB. Switch ENABLE_OPENCV
to off so opencv from system is used.

* Remove do_install and patch Makefiles instead to install libraries correctly.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-30 15:34:44 +08:00
Chin Huat Ang
096598691d dldt-inference-engine: add recipe
This recipe builds the inference engine from opencv/dldt 2019 R1.1
release.

OpenVINO™ toolkit, short for Open Visual Inference and Neural network
Optimization toolkit, provides developers with improved neural network
performance on a variety of Intel® processors and helps further unlock
cost-effective, real-time vision applications.

The toolkit enables deep learning inference and easy heterogeneous
execution across multiple Intel® platforms (CPU, Intel® Processor Graphics)—providing
implementations across cloud architectures to edge device.

For more details, see:
https://01.org/openvinotoolkit

The recipe needs components from meta-oe so move it to
dynamic-layers/openembedded-layer. GPU plugin support needs intel-compute-runtime
which can be built by including clang layer in the mix as well.

CPU and GPU plugins have been sanity tested to work using
classification_sample. Further fine-tuning is still needed to improve
the performance.

Original patch by Anuj Mittal.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-28 17:18:30 +08:00