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 "ie_plugin_config.hpp"
15 
16 namespace InferenceEngine {
17 
18 /**
19  * @brief Multi Device plugin configuration
20  */
21 namespace MultiDeviceConfigParams {
22 
23 /**
24  * @def MULTI_CONFIG_KEY(name)
25  * @brief A macro which provides a MULTI-mangled name for configuration key with name `name`
26  */
27 #define MULTI_CONFIG_KEY(name) InferenceEngine::MultiDeviceConfigParams::_CONFIG_KEY(MULTI_##name)
28 
29 #define DECLARE_MULTI_CONFIG_KEY(name) DECLARE_CONFIG_KEY(MULTI_##name)
30 #define DECLARE_MULTI_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(MULTI_##name)
31 
32 /**
33  * @brief Device Priorities config option, with comma-separated devices listed in the desired priority
34  */
35 DECLARE_MULTI_CONFIG_KEY(DEVICE_PRIORITIES);
36 
37 } // namespace MultiDeviceConfigParams
38 } // namespace InferenceEngine
A header for advanced hardware related properties for IE plugins To use in SetConfig,...