Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[samples] Improve help message for benchmark_app and OpenCL (#31707)

Yun Liucbd980961291
diff --git a/samples/cpp/benchmark_app/CMakeLists.txt b/samples/cpp/benchmark_app/CMakeLists.txt
index 90f75fa94ca..eb33cb4007d 100644
--- a/samples/cpp/benchmark_app/CMakeLists.txt
+++ b/samples/cpp/benchmark_app/CMakeLists.txt
@@ -101,7 +101,7 @@ if(SAMPLES_ENABLE_OPENCL)
target_link_libraries(${TARGET_NAME} PRIVATE OpenCL::OpenCL)
else()
- message(WARNING "OpenCL CPP header is not found, ${TARGET_NAME} will be built without OpenCL support and you will not be able to use the '-use_device_mem' option. Please, install '<apt | yum> install opencl-headers' to enable the option")
+ message(WARNING "OpenCL CPP header is not found, ${TARGET_NAME} will be built without OpenCL support and you will not be able to use the '-use_device_mem' option. Please, install 'apt-get install ocl-icd-opencl-dev' or 'yum install ocl-icd-devel' to enable the option")
endif()
endif()