cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

sandyandr
Adept I

Possible bug in read_imagef

Strange behavior - kernel works fine with this:

__constant sampler_t imageSampler = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST, using this - read_imagef(image, imageSampler, coords);

but!..

without sampler and with "read_imagef(image, coords)" (should work the same way as above)  - data goes randomly crippled.

An image is a 3D-image, referenced from OpenGL, rendered there slice by slice through FBO.

Seems like a bug?

P.S. Other regular 2D-image works fine with or without sampler.

0 Likes
2 Replies
sudarshan
Staff
Staff

Re: Possible bug in read_imagef

Hi,

Can you give a simple code where this bug is manifest ?

0 Likes
pinform
Staff
Staff

Re: Possible bug in read_imagef

Reviving the thread.  Can you provide us with a simple test case?

0 Likes