Results 1 to 2 of 2

Thread: Image Type : IMAGE2D vs IMAGE2D_ARRAY

  1. #1

    Image Type : IMAGE2D vs IMAGE2D_ARRAY


    I'm updating my OpenCL code and I'm trying to get rid of the old clCreateImage2D.
    The new version is clCreateImage and it requires different parameters.
    One of them is the image type. The image type (for a 2D image) can be :


    I can't find the difference between them in the documentation.
    Can anyone explain me please?

    Thank you.


  2. #2

    Re: Image Type : IMAGE2D vs IMAGE2D_ARRAY

    OK, got it and it's simple.
    It's possible in OpenCL to create an array of images instead of only one image.
    In this case, juste use CL_MEM_OBJECT_IMAGE2D_ARRAY.

    Thanks anyway.


Similar Threads

  1. Image computing in OpenCL (image2D or array)
    By Elhassan in forum OpenCL
    Replies: 1
    Last Post: 11-19-2012, 11:34 PM
  2. Image2d or Buffer?
    By henn1ng in forum OpenCL
    Replies: 3
    Last Post: 05-14-2012, 06:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean