openvino/inference-engine/include/hetero/hetero_plugin_config.hpp

35 lines
1.0 KiB
C++

// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief A header that defines advanced related properties for Heterogeneous plugins.
* These properties should be used in SetConfig() and LoadNetwork() methods of plugins
*
* @file hetero_plugin_config.hpp
*/
#pragma once
#include <string>
#include "../ie_plugin_config.hpp"
namespace InferenceEngine {
namespace HeteroConfigParams {
#define HETERO_CONFIG_KEY(name) InferenceEngine::HeteroConfigParams::_CONFIG_KEY(HETERO_##name)
#define DECLARE_HETERO_CONFIG_KEY(name) DECLARE_CONFIG_KEY(HETERO_##name)
#define DECLARE_HETERO_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(HETERO_##name)
/**
* @brief The key for enabling of dumping the topology with details of layers and details how
* this network would be executed on different devices to the disk in GraphViz format.
* This option should be used with values: CONFIG_VALUE(NO) (default) or CONFIG_VALUE(YES)
*/
DECLARE_HETERO_CONFIG_KEY(DUMP_GRAPH_DOT);
} // namespace HeteroConfigParams
} // namespace InferenceEngine