File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
samples/cpp/benchmark_app Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ static const char infer_num_threads_message[] = "Optional. Number of threads to
179179 " (including HETERO and MULTI cases)." ;
180180
181181// @brief message for CPU threads pinning option
182- static const char infer_threads_pinning_message[] =
183- " Optional. Explicit threads->cores pinning for CPU inference tasks (leave empty to let the OpenVINO make a choice)." ;
182+ static const char infer_threads_pinning_message[] = " Optional. Explicit threads->cores pinning for CPU inference tasks "
183+ " (leave empty to let the OpenVINO make a choice)." ;
184184
185185// @brief message for switching memory allocation type option
186186static const char use_device_mem_message[] =
@@ -421,8 +421,7 @@ static void show_usage() {
421421 std::cout << std::endl;
422422 std::cout << " Device-specific performance options:" << std::endl;
423423 std::cout << " -nthreads <integer> " << infer_num_threads_message << std::endl;
424- std::cout << " -pin <string> \" YES\" / \" NO\" "
425- << infer_threads_pinning_message << std::endl;
424+ std::cout << " -pin <string> \" YES\" / \" NO\" " << infer_threads_pinning_message << std::endl;
426425 std::cout << " -use_device_mem " << use_device_mem_message << std::endl;
427426 std::cout << std::endl;
428427 std::cout << " Statistics dumping options:" << std::endl;
Original file line number Diff line number Diff line change @@ -492,7 +492,8 @@ int main(int argc, char* argv[]) {
492492
493493 auto set_nthreads_pin = [&](const std::string& str) {
494494 OPENVINO_SUPPRESS_DEPRECATED_START
495- auto property_name = str == " nthreads" ? ov::inference_num_threads.name () : ov::hint::enable_cpu_pinning.name ();
495+ auto property_name =
496+ str == " nthreads" ? ov::inference_num_threads.name () : ov::hint::enable_cpu_pinning.name ();
496497 auto property = str == " nthreads" ? ov::inference_num_threads (int (FLAGS_nthreads))
497498 : ov::hint::enable_cpu_pinning (FLAGS_pin);
498499 OPENVINO_SUPPRESS_DEPRECATED_END
You can’t perform that action at this time.
0 commit comments