meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0004-fix-compilation-errors.patch
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

36 lines
1.2 KiB
Diff

From deec5feef34f86eb5616252e2e5b685b6555f561 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Wed, 10 Jun 2020 09:49:03 +0800
Subject: [PATCH 4/5] fix compilation errors
Fixes errors like:
build/tmp/work/skylake-64-poky-linux/dldt-inference-engine/2020r1-r0/git/inference-engine/thirdparty/clDNN/kernel_selector/common/tensor_type.h:295:28:
error: 'runtime_error' is not a member of 'std'
295 | throw std::runtime_error("Tensor pitches didn't
set correctly");
|
Upstream-Status: Pending
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
.../thirdparty/clDNN/kernel_selector/common/tensor_type.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/inference-engine/thirdparty/clDNN/kernel_selector/common/tensor_type.h b/inference-engine/thirdparty/clDNN/kernel_selector/common/tensor_type.h
index 7f05b67f..641a4c9b 100644
--- a/inference-engine/thirdparty/clDNN/kernel_selector/common/tensor_type.h
+++ b/inference-engine/thirdparty/clDNN/kernel_selector/common/tensor_type.h
@@ -25,6 +25,7 @@
#include <array>
#include <string>
#include <utility>
+#include <stdexcept>
namespace kernel_selector {
#define KERNEL_SELECTOR_TENSOR_DIM_MAX 9
--
2.25.4