How to know if one function is OpenCL supported?

asked 2018-11-29 23:26:31 -0500

blues gravatar image

Hi,

I trying to use GPU acceleration in our project which use many opencv functions.

since opencv 3.0, interface changed to Transparent API. doc I cant tell if its opencl supoort by function name/interface.

Are functions take InputOutputArray/InputArray as input ALL opencl supported? if not, how do I know whether a specific module/function is opencl supported? (before actually test it)

thanks

edit retag flag offensive close merge delete

Comments

dive into the src, and grep for OCL_RUN

berak gravatar imageberak ( 2018-11-30 00:09:31 -0500 )edit

@berak ok, i see some function have CV_OCL_RUN and ocl_xxx sub function in it. thanks!

blues gravatar imageblues ( 2018-11-30 00:59:48 -0500 )edit