I have a openCV code written which I need to parallize to improve performance. I need to know how can I call openCV functions inside a openCL kernel.
Is there any way to do it, if yes/no can I please be pointed to the relevant lit/ tutorial?
Thanks for help.
Cheers, Paras
No, You cannot link against libraries from within your OpenCL kernel.
However, OpenCL absolutely excels at image processing work, so it is likely that some of what you want from OpenCV has already been implemented by somebody using CL. Perhaps if you elaborate on what exactly you need out of OpenCV, some kind hacker hereabouts can point you at an implementation that you can incorporate into your program.
OpenCV itself has a GPU module that reimplements several of it's image processing algorithms on the GPU.
Check the docs!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With