diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2019-11-12 09:24:05 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-11-12 09:30:39 +0800 |
| commit | 19153cb5496fffb1b8b9228c99f08e80ec2b83c3 (patch) | |
| tree | a468407bf616951969506bd599efaee16c8d7517 /dynamic-layers/openembedded-layer | |
| parent | cd63bab42831011b5653a4eafa177802c43cfe65 (diff) | |
| download | meta-intel-19153cb5496fffb1b8b9228c99f08e80ec2b83c3.tar.gz | |
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>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
| -rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb index c788c53b..b9767517 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb | |||
| @@ -81,6 +81,10 @@ do_install_append() { | |||
| 81 | 81 | ||
| 82 | install -D -m0644 ${S}/thirdparty/movidius/mvnc/src/97-myriad-usbboot.rules ${D}${sysconfdir}/udev/rules.d/97-myriad-usbboot.rules | 82 | install -D -m0644 ${S}/thirdparty/movidius/mvnc/src/97-myriad-usbboot.rules ${D}${sysconfdir}/udev/rules.d/97-myriad-usbboot.rules |
| 83 | fi | 83 | fi |
| 84 | |||
| 85 | if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'true', 'false', d)}; then | ||
| 86 | cp -r ${S}/src/cldnn_engine/cldnn_global_custom_kernels ${D}${libdir}/ | ||
| 87 | fi | ||
| 84 | } | 88 | } |
| 85 | 89 | ||
| 86 | do_install_ptest_base_prepend() { | 90 | do_install_ptest_base_prepend() { |
| @@ -103,6 +107,7 @@ FILES_${PN}-dev = "${includedir} \ | |||
| 103 | 107 | ||
| 104 | FILES_${PN} += "${libdir}/lib*${SOLIBSDEV} \ | 108 | FILES_${PN} += "${libdir}/lib*${SOLIBSDEV} \ |
| 105 | ${datadir}/openvino \ | 109 | ${datadir}/openvino \ |
| 110 | ${libdir}/cldnn_global_custom_kernels \ | ||
| 106 | " | 111 | " |
| 107 | 112 | ||
| 108 | # Move inference engine samples into a separate package | 113 | # Move inference engine samples into a separate package |
