From 6aa1117e28d0340e424cfbbdc3b8514680c25011 Mon Sep 17 00:00:00 2001 From: Vitaliy Urusovskij Date: Fri, 2 Feb 2024 12:44:52 -0800 Subject: [PATCH] Remove `CoreConfiguration()` (#864) --- .../tests/functional/core_config.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/modules/nvidia_plugin/tests/functional/core_config.cpp b/modules/nvidia_plugin/tests/functional/core_config.cpp index 274bd4894..03a6fb783 100644 --- a/modules/nvidia_plugin/tests/functional/core_config.cpp +++ b/modules/nvidia_plugin/tests/functional/core_config.cpp @@ -2,26 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 // -#include "functional_test_utils/core_config.hpp" - #include "cuda_test_constants.hpp" #include "shared_test_classes/base/ov_subgraph.hpp" -void CoreConfiguration(LayerTestsUtils::LayerTestsCommon* test) { - std::shared_ptr core = PluginCache::get().ie(); - ov::element::Type hint = ov::element::f32; - for (auto& param : test->GetFunction()->get_parameters()) { - if (param->get_output_element_type(0) == ov::element::f16) { - hint = ov::element::f16; - break; - } - } - // Set inference_precision hint to run fp32 model in fp32 runtime precision as default plugin execution precision - // may vary - std::map config = {{ov::hint::inference_precision.name(), hint.get_type_name()}}; - core->SetConfig(config, ov::test::utils::DEVICE_NVIDIA); -} - namespace ov { namespace test {