From 9e60b47afe98185ea51cf6707337ca106c2df691 Mon Sep 17 00:00:00 2001 From: dmitrygo Date: Thu, 2 Jan 2025 15:11:14 +0400 Subject: [PATCH] fixed codestyle job --- samples/cpp/benchmark_app/benchmark_app.hpp | 7 +++---- samples/cpp/benchmark_app/main.cpp | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/cpp/benchmark_app/benchmark_app.hpp b/samples/cpp/benchmark_app/benchmark_app.hpp index 23863a479aca17..ab7fddb4d7d9a9 100644 --- a/samples/cpp/benchmark_app/benchmark_app.hpp +++ b/samples/cpp/benchmark_app/benchmark_app.hpp @@ -179,8 +179,8 @@ static const char infer_num_threads_message[] = "Optional. Number of threads to "(including HETERO and MULTI cases)."; // @brief message for CPU threads pinning option -static const char infer_threads_pinning_message[] = - "Optional. Explicit threads->cores pinning for CPU inference tasks (leave empty to let the OpenVINO make a choice)."; +static const char infer_threads_pinning_message[] = "Optional. Explicit threads->cores pinning for CPU inference tasks " + "(leave empty to let the OpenVINO make a choice)."; // @brief message for switching memory allocation type option static const char use_device_mem_message[] = @@ -421,8 +421,7 @@ static void show_usage() { std::cout << std::endl; std::cout << "Device-specific performance options:" << std::endl; std::cout << " -nthreads " << infer_num_threads_message << std::endl; - std::cout << " -pin \"YES\" / \"NO\" " - << infer_threads_pinning_message << std::endl; + std::cout << " -pin \"YES\" / \"NO\" " << infer_threads_pinning_message << std::endl; std::cout << " -use_device_mem " << use_device_mem_message << std::endl; std::cout << std::endl; std::cout << "Statistics dumping options:" << std::endl; diff --git a/samples/cpp/benchmark_app/main.cpp b/samples/cpp/benchmark_app/main.cpp index b09ec3da1a8223..5e2f675916d160 100644 --- a/samples/cpp/benchmark_app/main.cpp +++ b/samples/cpp/benchmark_app/main.cpp @@ -492,7 +492,8 @@ int main(int argc, char* argv[]) { auto set_nthreads_pin = [&](const std::string& str) { OPENVINO_SUPPRESS_DEPRECATED_START - auto property_name = str == "nthreads" ? ov::inference_num_threads.name() : ov::hint::enable_cpu_pinning.name(); + auto property_name = + str == "nthreads" ? ov::inference_num_threads.name() : ov::hint::enable_cpu_pinning.name(); auto property = str == "nthreads" ? ov::inference_num_threads(int(FLAGS_nthreads)) : ov::hint::enable_cpu_pinning(FLAGS_pin); OPENVINO_SUPPRESS_DEPRECATED_END