dnn: use OpenVINO 2021.3 defines
authorAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 3 Mar 2021 00:32:25 +0000 (03:32 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 24 Mar 2021 10:26:24 +0000 (10:26 +0000)
original commit: 62915037939f13a55b973b84fea05218f73e15ae

cmake/OpenCVDetectInferenceEngine.cmake
modules/dnn/src/op_inf_engine.hpp

index 34f3df17dc7780937bdde8262b4b6deab0bca4c1..aa4bb4a864aedc3104379fe37536302cb89af09c 100644 (file)
@@ -141,9 +141,9 @@ endif()
 
 if(INF_ENGINE_TARGET)
   if(NOT INF_ENGINE_RELEASE)
-    message(WARNING "InferenceEngine version has not been set, 2021.2 will be used by default. Set INF_ENGINE_RELEASE variable if you experience build errors.")
+    message(WARNING "InferenceEngine version has not been set, 2021.3 will be used by default. Set INF_ENGINE_RELEASE variable if you experience build errors.")
   endif()
-  set(INF_ENGINE_RELEASE "2021020000" CACHE STRING "Force IE version, should be in form YYYYAABBCC (e.g. 2020.1.0.2 -> 2020010002)")
+  set(INF_ENGINE_RELEASE "2021030000" CACHE STRING "Force IE version, should be in form YYYYAABBCC (e.g. 2020.1.0.2 -> 2020010002)")
   set_target_properties(${INF_ENGINE_TARGET} PROPERTIES
     INTERFACE_COMPILE_DEFINITIONS "HAVE_INF_ENGINE=1;INF_ENGINE_RELEASE=${INF_ENGINE_RELEASE}"
   )
index 25844710b93fa9917227b0102dbd173dbfffb5e6..42008b0f10b880fcda466422df0b7d703514d76d 100644 (file)
 #define INF_ENGINE_RELEASE_2020_4 2020040000
 #define INF_ENGINE_RELEASE_2021_1 2021010000
 #define INF_ENGINE_RELEASE_2021_2 2021020000
+#define INF_ENGINE_RELEASE_2021_3 2021030000
 
 #ifndef INF_ENGINE_RELEASE
-#warning("IE version have not been provided via command-line. Using 2021.2 by default")
-#define INF_ENGINE_RELEASE INF_ENGINE_RELEASE_2021_2
+#warning("IE version have not been provided via command-line. Using 2021.3 by default")
+#define INF_ENGINE_RELEASE INF_ENGINE_RELEASE_2021_3
 #endif
 
 #define INF_ENGINE_VER_MAJOR_GT(ver) (((INF_ENGINE_RELEASE) / 10000) > ((ver) / 10000))