multi_device_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 Multi_Device plugin.
7  * These properties should be used in SetConfig() and LoadNetwork() methods
8  *
9  * @file multi_device_config.hpp
10  */
11 
12 #pragma once
13 
14 #include <string>
15 #include "ie_plugin_config.hpp"
16 
17 namespace InferenceEngine {
18 
19 /**
20  * @brief Multi Device plugin configuration
21  */
22 namespace MultiDeviceConfigParams {
23 
24 /**
25  * @def MULTI_CONFIG_KEY(name)
26  * @brief A macro which provides a MULTI-mangled name for configuration key with name `name`
27  */
28 #define MULTI_CONFIG_KEY(name) InferenceEngine::MultiDeviceConfigParams::_CONFIG_KEY(MULTI_##name)
29 
30 #define DECLARE_MULTI_CONFIG_KEY(name) DECLARE_CONFIG_KEY(MULTI_##name)
31 #define DECLARE_MULTI_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(MULTI_##name)
32 
33 /**
34  * @brief Device Priorities config option, with comma-separated devices listed in the desired priority
35  */
36 DECLARE_MULTI_CONFIG_KEY(DEVICE_PRIORITIES);
37 
38 } // namespace MultiDeviceConfigParams
39 } // namespace InferenceEngine
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
a header for advanced hardware related properties for IE plugins