From 096598691de246c23902d49d228c7562ba2c9cc5 Mon Sep 17 00:00:00 2001 From: Chin Huat Ang Date: Fri, 27 Sep 2019 06:11:51 +0800 Subject: dldt-inference-engine: add recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Anuj Mittal --- .../files/0001-Supply-firmware-at-build-time.patch | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch') diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch new file mode 100644 index 00000000..dcc65ed6 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch @@ -0,0 +1,45 @@ +From e58226a399be7cf2cc6d91b66facb65d7dfb5018 Mon Sep 17 00:00:00 2001 +From: Anuj Mittal +Date: Tue, 20 Aug 2019 15:40:18 +0800 +Subject: [PATCH] Supply firmware at build time + +We'd like to supply firmware when fetching the sources. Disable runtime +fetching and point to fetched firmware instead. + +Upstream-Status: Submitted + +Signed-off-by: Anuj Mittal + +--- + inference-engine/cmake/dependencies.cmake | 18 ------------------ + 1 file changed, 18 deletions(-) + +diff --git a/inference-engine/cmake/dependencies.cmake b/inference-engine/cmake/dependencies.cmake +index 64435ca..217fbc9 100644 +--- a/inference-engine/cmake/dependencies.cmake ++++ b/inference-engine/cmake/dependencies.cmake +@@ -37,24 +37,6 @@ else() + set(MODELS_BRANCH "master") + endif() + +-if (ENABLE_MYRIAD) +- RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2450 +- ARCHIVE_UNIFIED firmware_ma2450_491.zip +- TARGET_PATH "${TEMP}/vpu/firmware/ma2450" +- ENVIRONMENT "VPU_FIRMWARE_MA2450" +- FOLDER) +- debug_message(STATUS "ma2450=" ${VPU_FIRMWARE_MA2450}) +-endif () +- +-if (ENABLE_MYRIAD) +- RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2480 +- ARCHIVE_UNIFIED firmware_ma2480_mdk_R7_9.zip +- TARGET_PATH "${TEMP}/vpu/firmware/ma2480" +- ENVIRONMENT "VPU_FIRMWARE_MA2480" +- FOLDER) +- debug_message(STATUS "ma2480=" ${VPU_FIRMWARE_MA2480}) +-endif () +- + ## enable cblas_gemm from OpenBLAS package + if (GEMM STREQUAL "OPENBLAS") + if(NOT BLAS_LIBRARIES OR NOT BLAS_INCLUDE_DIRS) -- cgit v1.2.3-54-g00ecf