The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Image computing in OpenCL (image2D or array)

Hi all,

I want to make a convolution operation on an image. So my question is regarding the use of Image2D from OpenCL. Is it better to convert the image that I read in the host to an array and send this array to gpu to convolve it?.
I am wondering which way will be faster?.

Re: Image computing in OpenCL (image2D or array)

Best way would be openGL-openCL interop. If the image is already loaded in openGL you should look for this for best performance. I have tried both for very lage convolution operations (200² kernelsize) an image access was slower.