Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

link against external libraries inside a openCL kernel program

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


2 Answers

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.

like image 147
James Avatar answered Aug 17 '26 10:08

James


OpenCV itself has a GPU module that reimplements several of it's image processing algorithms on the GPU.

Check the docs!

like image 33
karlphillip Avatar answered Aug 17 '26 10:08

karlphillip



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!