本文首发于个人博客https://kezunlin.me/post/59afd8b3/,欢迎阅读最新内容!
speed up opencv image processing with OpenCL
Guide
OpenCL is a framework for writing programs that execute on these heterogenous platforms. The developers of an OpenCL library utilize all OpenCL compatible devices (CPUs, GPUs, DSPs, FPGAs etc) they find on a computer / device and assign the right tasks to the right processor.
Keep in mind that as a user of OpenCV library you are not developing any OpenCL library. In fact you are not even a user of the OpenCL library because all the details are hidden behind the transparent API/TAPI.
config
cmake config by default for compiling OpenCV:
WITH_OPENCL ON