ie_internal_plugin_config.hpp
Go to the documentation of this file.
1 // Copyright (C) 2018-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header for properties that are passed from IE to plguinsor from one plugin to another
7  * @file ie_internal_plugin_config.hpp
8  */
9 
10 #pragma once
11 
12 #include "ie_plugin_config.hpp"
13 
14 namespace InferenceEngine {
15 
16 /**
17  * @brief A namespace with internal plugin configuration keys
18  * @ingroup ie_dev_api_plugin_api
19  */
20 namespace PluginConfigInternalParams {
21 
22 /**
23  * @def CONFIG_KEY_INTERNAL(name)
24  * @ingroup ie_dev_api_plugin_api
25  * @brief Shortcut for defining internal configuration keys
26  */
27 #define CONFIG_KEY_INTERNAL(name) ::InferenceEngine::PluginConfigInternalParams::_CONFIG_KEY(name)
28 
29 /**
30  * @brief Defines a low precision mode key
31  * @ingroup ie_dev_api_plugin_api
32  */
33 DECLARE_CONFIG_KEY(LP_TRANSFORMS_MODE);
34 
35 /**
36  * @brief Limit \#threads that are used by CPU Executor Streams to execute `parallel_for` calls
37  * @ingroup ie_dev_api_plugin_api
38  */
39 DECLARE_CONFIG_KEY(CPU_THREADS_PER_STREAM);
40 
41 /**
42  * @brief This key should be used to force disable export while loading network even if global cache dir is defined
43  * Used by HETERO plugin to disable automatic caching of subnetworks (set value to YES)
44  * @ingroup ie_dev_api_plugin_api
45  */
46 DECLARE_CONFIG_KEY(FORCE_DISABLE_CACHE);
47 
48 } // namespace PluginConfigInternalParams
49 
50 } // namespace InferenceEngine
DECLARE_CONFIG_KEY(LP_TRANSFORMS_MODE)
Defines a low precision mode key.
Inference Engine Plugin API namespace.