AnsweredAssumed Answered

Bug in write_imagei routine ?

Question asked by boxerab on Jul 19, 2014
Latest reply on Jul 21, 2014 by 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.

Outcomes