8 Replies Latest reply on Mar 28, 2015 7:35 PM by jason

    is this a bug with clenqueueReadBufferRect?

    dukeleto

      Hello,

      the attached code tests clEnqueueReadBufferRect by extracting

      a 2D and a 3D sub-block from a cl_mem array.

      It does not behave as I expect it to on AMD hardware, outputting:

       

      2D rectangle selected is as follows

      25 26 27

      28 29 30

      3D rectangle selected is as follows

      5 6 7

      8 9 10

      11 12 13

       

      On NVIDIA hardware, the output is the one I expect.

      Could someone please confirm this?

       

      Regards,

       

      Olivier