Macros
ie_plugin_config.hpp File Reference

a header for advanced hardware related properties for clDNN plugin To use in SetConfig() method of plugins More...

#include <string>
#include <tuple>
#include <vector>

Go to the source code of this file.

Macros

#define DECLARE_METRIC_KEY_IMPL(...)
 
#define METRIC_KEY(name)   InferenceEngine::Metrics::METRIC_##name
 shortcut for defining common Inference Engine metrics
 
#define EXEC_NETWORK_METRIC_KEY(name)   METRIC_KEY(name)
 
#define DECLARE_METRIC_KEY(name, ...)
 
#define DECLARE_EXEC_NETWORK_METRIC_KEY(name, ...)   DECLARE_METRIC_KEY(name, __VA_ARGS__)
 
#define METRIC_VALUE(name)   InferenceEngine::Metrics::name
 shortcut for defining metric values
 
#define DECLARE_METRIC_VALUE(name)   static constexpr auto name = #name
 
#define CONFIG_KEY(name)   InferenceEngine::PluginConfigParams::_CONFIG_KEY(name)
 shortcut for defining configuration keys
 
#define _CONFIG_KEY(name)   KEY_##name
 
#define DECLARE_CONFIG_KEY(name)   static constexpr auto _CONFIG_KEY(name) = #name
 
#define CONFIG_VALUE(name)   InferenceEngine::PluginConfigParams::name
 shortcut for defining configuration values
 
#define DECLARE_CONFIG_VALUE(name)   static constexpr auto name = #name
 

Detailed Description

a header for advanced hardware related properties for clDNN plugin To use in SetConfig() method of plugins

a header for advanced hardware related properties for IE plugins To use in SetConfig() method of plugins LoadNetwork() method overloads that accept config as parameter

Macro Definition Documentation

§ DECLARE_METRIC_KEY

#define DECLARE_METRIC_KEY (   name,
  ... 
)
Value:
static constexpr auto METRIC_##name = #name; \
DECLARE_METRIC_KEY_IMPL(name, __VA_ARGS__)