Results 1 to 2 of 2

Thread: Image computing in OpenCL (image2D or array)

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1

    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?.

    Cheers

    Elhassan

  2. #2
    Senior Member
    Join Date
    Oct 2012
    Posts
    165

    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.

    Greetings,
    clint3112

Similar Threads

  1. Image Type : IMAGE2D vs IMAGE2D_ARRAY
    By vincentfpgarcia in forum OpenCL
    Replies: 1
    Last Post: 03-12-2013, 11:25 PM
  2. OpenCL 1.2 2D image array
    By Bacterius in forum OpenCL
    Replies: 2
    Last Post: 01-04-2013, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •