dnn: use OpenVINO 2021.2 defines

original commit: 4699d2ba0c5447516ac89dc732704028838a3f86
This commit is contained in:
Alexander Alekhin
2020-12-16 22:22:17 +00:00
parent 7631056b8a
commit 752cc26ad6
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -28,10 +28,11 @@
#define INF_ENGINE_RELEASE_2020_3 2020030000
#define INF_ENGINE_RELEASE_2020_4 2020040000
#define INF_ENGINE_RELEASE_2021_1 2021010000
#define INF_ENGINE_RELEASE_2021_2 2021020000
#ifndef INF_ENGINE_RELEASE
#warning("IE version have not been provided via command-line. Using 2021.1 by default")
#define INF_ENGINE_RELEASE INF_ENGINE_RELEASE_2021_1
#warning("IE version have not been provided via command-line. Using 2021.2 by default")
#define INF_ENGINE_RELEASE INF_ENGINE_RELEASE_2021_2
#endif
#define INF_ENGINE_VER_MAJOR_GT(ver) (((INF_ENGINE_RELEASE) / 10000) > ((ver) / 10000))