Ask Your Question
0

How to know if one function is OpenCL supported?

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

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-11-30 00:59:48 -0600

blues gravatar image

updated 2018-11-30 01:04:18 -0600

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-29 23:26:31 -0600

Seen: 267 times

Last updated: Nov 29 '18