4 Replies Latest reply on Jul 21, 2014 10:35 AM by boxerab

    Bug in write_imagei routine ?

    boxerab

      I have a simple kernel that writes to a write only opencl image.

       

       

      I execute this line in my kernel:

       

       

        write_imagei(output, pos,(1,2,3,1));

       

       

      However, when I map the output image, and look at the data, it looks like:

       

       

          0x01 0x01 0x01 0x01 ......

       

       

      It seems that all channels are filled with the alpha value.