Skip to content

Commit 5c248c9

Browse files
author
dmitrygo
committed
removed remaining SUPPRESS_DEPRECATED invocations
1 parent 9e60b47 commit 5c248c9

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

samples/cpp/benchmark_app/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,12 +491,10 @@ int main(int argc, char* argv[]) {
491491
};
492492

493493
auto set_nthreads_pin = [&](const std::string& str) {
494-
OPENVINO_SUPPRESS_DEPRECATED_START
495494
auto property_name =
496495
str == "nthreads" ? ov::inference_num_threads.name() : ov::hint::enable_cpu_pinning.name();
497496
auto property = str == "nthreads" ? ov::inference_num_threads(int(FLAGS_nthreads))
498497
: ov::hint::enable_cpu_pinning(FLAGS_pin);
499-
OPENVINO_SUPPRESS_DEPRECATED_END
500498
if (supported(property_name) || device_name == "AUTO") {
501499
// create nthreads/pin primary property for HW device or AUTO if -d is AUTO directly.
502500
device_config[property.first] = property.second;

src/plugins/auto/src/cumulative_schedule.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ void CumuSchedule::init() {
7373
idx++;
7474
} else {
7575
cpu_device_information = device;
76-
OPENVINO_SUPPRESS_DEPRECATED_START
7776
cpu_device_information.config.insert({ov::hint::enable_cpu_pinning.name(), "YES"});
78-
OPENVINO_SUPPRESS_DEPRECATED_END
7977
}
8078
}
8179
if (!cpu_device_information.device_name.empty())

src/plugins/intel_cpu/src/compiled_model.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ ov::Any CompiledModel::get_property(const std::string& name) const {
273273
const auto streams = config.streamExecutorConfig.get_streams();
274274
return decltype(ov::num_streams)::value_type(
275275
streams); // ov::num_streams has special negative values (AUTO = -1, NUMA = -2)
276-
OPENVINO_SUPPRESS_DEPRECATED_START
277276
} else if (name == ov::inference_num_threads) {
278277
const auto num_threads = config.streamExecutorConfig.get_threads();
279278
return decltype(ov::inference_num_threads)::value_type(num_threads);

src/plugins/intel_cpu/src/plugin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ ov::Any Plugin::get_property(const std::string& name, const ov::AnyMap& options)
320320
const auto streams = engConfig.streamExecutorConfig.get_streams();
321321
return decltype(ov::num_streams)::value_type(
322322
streams); // ov::num_streams has special negative values (AUTO = -1, NUMA = -2)
323-
OPENVINO_SUPPRESS_DEPRECATED_START
324323
} else if (name == ov::device::id.name()) {
325324
return decltype(ov::device::id)::value_type{engConfig.device_id};
326325
} else if (name == ov::inference_num_threads) {

0 commit comments

Comments
 (0)