Remove ie/cpu/cpu_config.hpp (#22315)

This commit is contained in:
River Li 2024-01-23 01:59:54 +08:00 committed by GitHub
parent 95103a442d
commit f4ecee2d2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 59 deletions

View File

@ -1,56 +0,0 @@
// Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief A header for advanced hardware related properties for CPU plugin
* To use in SetConfig() method of plugins
*
* @file cpu_config.hpp
*/
#pragma once
#if !defined(IN_OV_COMPONENT) && !defined(IE_LEGACY_HEADER_INCLUDED)
# define IE_LEGACY_HEADER_INCLUDED
# ifdef _MSC_VER
# pragma message( \
"The Inference Engine API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html")
# else
# warning("The Inference Engine API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html")
# endif
#endif
#include "ie_plugin_config.hpp"
namespace InferenceEngine {
/**
* @brief CPU plugin configuration
*/
namespace CPUConfigParams {
/**
* @brief shortcut for defining configuration keys
*/
#define CPU_CONFIG_KEY(name) InferenceEngine::CPUConfigParams::_CONFIG_KEY(CPU_##name)
#define DECLARE_CPU_CONFIG_KEY(name) DECLARE_CONFIG_KEY(CPU_##name)
#define DECLARE_CPU_CONFIG_VALUE(name) DECLARE_CONFIG_VALUE(CPU_##name)
/**
* @brief The name for defining if denormals is optimized on CPU whenever it is possible
*
* This option lets CPU plugin determine whether denormals are optimized where it expects
* performance benefits from getting rid of denormals computation.
* Such option does not guarantee accuracy of the model, the accuracy in this mode should be
* verified separately by the user. Basing on performance and accuracy results, it should be
* user's decision to use this option or not.
* It is passed to Core::SetConfig(), this option should be used with values:
* PluginConfigParams::YES or PluginConfigParams::NO
* If not set explicitly, the behavior is kept in runtime enviroment where compile_model is called.
*/
INFERENCE_ENGINE_1_0_DEPRECATED DECLARE_CPU_CONFIG_KEY(DENORMALS_OPTIMIZATION);
INFERENCE_ENGINE_1_0_DEPRECATED DECLARE_CPU_CONFIG_KEY(SPARSE_WEIGHTS_DECOMPRESSION_RATE);
} // namespace CPUConfigParams
} // namespace InferenceEngine

View File

@ -4,7 +4,6 @@
#include "config.h"
#include "cpu/cpu_config.hpp"
#include "cpu/x64/cpu_isa_traits.hpp"
#include "openvino/core/parallel.hpp"
#include "openvino/core/type/element_type_traits.hpp"

View File

@ -15,7 +15,6 @@
#include <bitset>
#include <map>
#include <mutex>
#include <string>
namespace ov {
namespace intel_cpu {

View File

@ -4,7 +4,6 @@
#include "common_test_utils/node_builders/constant.hpp"
#include "common_test_utils/ov_tensor_utils.hpp"
#include "cpu/cpu_config.hpp"
#include "openvino/runtime/intel_cpu/properties.hpp"
#include "ov_ops/type_relaxed.hpp"
#include "shared_test_classes/base/ov_subgraph.hpp"