Open junxnone opened 1 year ago
OPENCV_OPENCL_DEVICE
export OPENCV_OPENCL_DEVICE=disabled
export OPENCV_OPENCL_DEVICE=Intel:GPU
<Platform>:<CPU|GPU|ACCELERATOR|nothing=GPU/CPU>:<DeviceName or ID>
OpenCL Device
export OPENCV_OPENCL_DEVICE=Intel:CPU
opencv_version --opencl
OpenCV with OpenCL
OPENCV_OPENCL_DEVICE
export OPENCV_OPENCL_DEVICE=disabled
export OPENCV_OPENCL_DEVICE=Intel:GPU
<Platform>:<CPU|GPU|ACCELERATOR|nothing=GPU/CPU>:<DeviceName or ID>
OpenCL Device
, 否则默认只有 GPUexport OPENCV_OPENCL_DEVICE=Intel:CPU
opencv_version --opencl
Reference