myriad_plugin_config.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @deprecated Use vpu/myriad_config.hpp instead.
7  * @brief A header that defines advanced related properties for VPU plugins.
8  * These properties should be used in SetConfig() and LoadNetwork() methods of plugins
9  *
10  * @file myriad_plugin_config.hpp
11  */
12 
13 #pragma once
14 
15 #include "ie_api.h"
16 #include "ie_plugin_config.hpp"
17 
18 /**
19  * @def VPU_MYRIAD_CONFIG_KEY(name)
20  * @brief Shortcut for defining VPU MYRIAD configuration key
21  */
22 #define VPU_MYRIAD_CONFIG_KEY(name) InferenceEngine::VPUConfigParams::_CONFIG_KEY(VPU_MYRIAD_##name)
23 /**
24  * @def VPU_MYRIAD_CONFIG_VALUE(name)
25  * @brief Shortcut for defining VPU MYRIAD configuration value
26  */
27 #define VPU_MYRIAD_CONFIG_VALUE(name) InferenceEngine::VPUConfigParams::VPU_MYRIAD_##name
28 
29 #define DECLARE_VPU_MYRIAD_CONFIG_KEY(name) DECLARE_CONFIG_KEY(VPU_MYRIAD_##name)
30 #define DECLARE_VPU_MYRIAD_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(VPU_MYRIAD_##name)
31 
32 namespace InferenceEngine {
33 
34 namespace VPUConfigParams {
35 
36 /**
37  * @deprecated Use InferenceEngine::MYRIAD_ENABLE_FORCE_RESET instead.
38  * @brief The flag to reset stalled devices: CONFIG_VALUE(YES) or CONFIG_VALUE(NO) (default)
39  * This is a plugin scope option and must be used with the plugin's SetConfig method
40  */
41 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_ENABLE_FORCE_RESET instead")
42 DECLARE_VPU_MYRIAD_CONFIG_KEY(FORCE_RESET);
43 
44 /**
45  * @deprecated
46  * @brief This option allows to specify device.
47  * If specified device is not available then creating infer request will throw an exception.
48  */
49 INFERENCE_ENGINE_DEPRECATED("")
50 DECLARE_VPU_MYRIAD_CONFIG_KEY(PLATFORM);
51 
52 /**
53  * @deprecated
54  * @brief Supported keys definition for VPU_MYRIAD_CONFIG_KEY(PLATFORM) option.
55  */
56 INFERENCE_ENGINE_DEPRECATED("")
57 DECLARE_VPU_MYRIAD_CONFIG_VALUE(2450);
58 INFERENCE_ENGINE_DEPRECATED("")
59 DECLARE_VPU_MYRIAD_CONFIG_VALUE(2480);
60 
61 /**
62  * @deprecated Use InferenceEngine::MYRIAD_DDR_TYPE instead
63  * @brief This option allows to specify device memory type.
64  */
65 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_TYPE instead")
66 DECLARE_VPU_MYRIAD_CONFIG_KEY(MOVIDIUS_DDR_TYPE);
67 
68 /**
69  * @deprecated Use DDR type values from InferenceEngine namespace with MYRIAD_DDR_ prefix
70  * @brief Supported keys definition for VPU_MYRIAD_CONFIG_KEY(MOVIDIUS_DDR_TYPE) option.
71  */
72 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_AUTO instead")
73 DECLARE_VPU_MYRIAD_CONFIG_VALUE(DDR_AUTO);
74 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_MICRON_2GB instead")
75 DECLARE_VPU_MYRIAD_CONFIG_VALUE(MICRON_2GB);
76 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_SAMSUNG_2GB instead")
77 DECLARE_VPU_MYRIAD_CONFIG_VALUE(SAMSUNG_2GB);
78 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_HYNIX_2GB instead")
79 DECLARE_VPU_MYRIAD_CONFIG_VALUE(HYNIX_2GB);
80 INFERENCE_ENGINE_DEPRECATED("Use InferenceEngine::MYRIAD_DDR_MICRON_1GB instead")
81 DECLARE_VPU_MYRIAD_CONFIG_VALUE(MICRON_1GB);
82 
83 } // namespace VPUConfigParams
84 
85 } // namespace InferenceEngine
The macro defines a symbol import/export mechanism essential for Microsoft Windows(R) OS.
A header for advanced hardware related properties for IE plugins To use in SetConfig,...
Inference Engine C++ API.
Definition: cldnn_config.hpp:15