myriad_config.hpp
Go to the documentation of this file.
1 // Copyright (C) 2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 /**
6  * @brief A header that defines advanced related properties for Myriad plugin.
7  * These properties should be used in SetConfig() and LoadNetwork() methods of plugins
8  *
9  * @file myriad_config.hpp
10  */
11 
12 #pragma once
13 
14 #include "vpu_config.hpp"
15 
16 namespace InferenceEngine {
17 
18 /**
19  * @brief The flag to reset stalled devices.
20  * This is a plugin scope option and must be used with the plugin's SetConfig method
21  * The only possible values are:
22  * CONFIG_VALUE(YES)
23  * CONFIG_VALUE(NO) (default value)
24  */
25 DECLARE_VPU_CONFIG(MYRIAD_ENABLE_FORCE_RESET);
26 
27 /**
28  * @brief This option allows to specify device memory type.
29  */
30 DECLARE_VPU_CONFIG(MYRIAD_DDR_TYPE);
31 
32 /**
33  * @brief Supported keys definition for InferenceEngine::MYRIAD_DDR_TYPE option.
34  */
35 DECLARE_VPU_CONFIG(MYRIAD_DDR_AUTO);
36 DECLARE_VPU_CONFIG(MYRIAD_DDR_MICRON_2GB);
37 DECLARE_VPU_CONFIG(MYRIAD_DDR_SAMSUNG_2GB);
38 DECLARE_VPU_CONFIG(MYRIAD_DDR_HYNIX_2GB);
39 DECLARE_VPU_CONFIG(MYRIAD_DDR_MICRON_1GB);
40 
41 /**
42  * @brief This option allows to specify protocol.
43  */
44 DECLARE_VPU_CONFIG(MYRIAD_PROTOCOL);
45 
46 /**
47  * @brief Supported keys definition for InferenceEngine::MYRIAD_PROTOCOL option.
48  */
49 DECLARE_VPU_CONFIG(MYRIAD_PCIE);
50 DECLARE_VPU_CONFIG(MYRIAD_USB);
51 
52 /**
53  * @brief Optimize vpu plugin execution to maximize throughput.
54  * This option should be used with integer value which is the requested number of streams.
55  * The only possible values are:
56  * 1
57  * 2
58  * 3
59  */
60 DECLARE_VPU_CONFIG(MYRIAD_THROUGHPUT_STREAMS);
61 
62 } // namespace InferenceEngine
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
static constexpr auto MYRIAD_DDR_AUTO
Supported keys definition for InferenceEngine::MYRIAD_DDR_TYPE option.
Definition: myriad_config.hpp:35
static constexpr auto MYRIAD_ENABLE_FORCE_RESET
The flag to reset stalled devices. This is a plugin scope option and must be used with the plugin's S...
Definition: myriad_config.hpp:25
static constexpr auto MYRIAD_PROTOCOL
This option allows to specify protocol.
Definition: myriad_config.hpp:44
static constexpr auto MYRIAD_THROUGHPUT_STREAMS
Optimize vpu plugin execution to maximize throughput. This option should be used with integer value w...
Definition: myriad_config.hpp:60
static constexpr auto MYRIAD_PCIE
Supported keys definition for InferenceEngine::MYRIAD_PROTOCOL option.
Definition: myriad_config.hpp:49
static constexpr auto MYRIAD_DDR_TYPE
This option allows to specify device memory type.
Definition: myriad_config.hpp:30
A header that defines common config subset for VPU plugins. Include myriad_config....