request help,Status -43: CL_INVALID_BUILD_OPTIONS

asked 2020-08-23 22:12:51 -0500

updated 2020-08-24 01:03:50 -0500

berak gravatar image

compile opencv-4.4.0, opencv_contrib-4.4.0 with opencl enable

    cmake_vars = dict(
        CMAKE_TOOLCHAIN_FILE=self.get_toolchain_file(),
        CMAKE_BUILD_TYPE="Debug",
        INSTALL_CREATE_DISTRIB="ON",
        WITH_OPENCL="ON",
        OPENCL_FOUND="ON",
        OPENCV_DNN_OPENCL="ON",
        WITH_IPP=("ON" if abi.haveIPP() else "OFF"),
        WITH_TBB="ON",
        BUILD_EXAMPLES="OFF",
        BUILD_TESTS="OFF",
        BUILD_PERF_TESTS="OFF",
        BUILD_DOCS="OFF",
        BUILD_ANDROID_EXAMPLES=("OFF" if self.no_samples_build else "ON"),
        INSTALL_ANDROID_EXAMPLES=("OFF" if self.no_samples_build else "ON"),
        BUILD_ANDROID_PROJECTS="OFF",
        OPENCL_INCLUDE_DIRS="**********/Adreno_OpenCL_SDK/opencl-sdk-1.2.2/inc/CL",
        OPENCL_LIBRARY="*************/Adreno_OpenCL_SDK/system_lib64/libOpenCL.so"

when call function net.forward(outs, outNames);

An error occurred :Status -43: CL_INVALID_BUILD_OPTIONS

OpenCV(ocl4dnn): consider to specify kernel configuration cache directory
                 via OPENCV_OCL4DNN_CONFIG_PATH parameter.
[ INFO:0] global /home/hyq/opencv4.4.0/opencv-4.4.0/modules/core/src/ocl.cpp (356) OpenCLBinaryCacheConfigurator Specify OPENCV_OPENCL_CACHE_DIR configuration parameter to enable OpenCL cache
OpenCL program build log: dnn/dummy
Status -43: CL_INVALID_BUILD_OPTIONS
-cl-no-subgroup-ifp
Unsupported OpenCL user option specified: '-cl-no-subgroup-ifp'
edit retag flag offensive close merge delete