hetero_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  * @brief A header that defines advanced related properties for Heterogeneous plugins.
7  * These properties should be used in SetConfig() and LoadNetwork() methods of plugins
8  *
9  * @file hetero_plugin_config.hpp
10  */
11 
12 #pragma once
13 
14 #include "ie_plugin_config.hpp"
15 
16 namespace InferenceEngine {
17 
18 /**
19  * @brief Heterogeneous plugin configuration
20  */
21 namespace HeteroConfigParams {
22 
23 /**
24  * @def HETERO_CONFIG_KEY(name)
25  * @brief Shortcut for defining HETERO configuration keys
26  */
27 #define HETERO_CONFIG_KEY(name) InferenceEngine::HeteroConfigParams::_CONFIG_KEY(HETERO_##name)
28 #define DECLARE_HETERO_CONFIG_KEY(name) DECLARE_CONFIG_KEY(HETERO_##name)
29 #define DECLARE_HETERO_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(HETERO_##name)
30 
31 /**
32  * @brief The key for enabling of dumping the topology with details of layers and details how
33  * this network would be executed on different devices to the disk in GraphViz format.
34  * This option should be used with values: CONFIG_VALUE(NO) (default) or CONFIG_VALUE(YES)
35  */
36 DECLARE_HETERO_CONFIG_KEY(DUMP_GRAPH_DOT);
37 
38 } // namespace HeteroConfigParams
39 } // namespace InferenceEngine
ie_plugin_config.hpp
A header for advanced hardware related properties for IE plugins To use in SetConfig,...