Possible bug in write_imagei

Possible bug in write_imagei

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.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

sorry, my bad. Please ignore this.

Leave a Comment

Please sign in to add a comment. Not a member? Join today