I'm trying to write a histogram kernel in OpenCL to compute the R, G, and B histograms of an input image. My kernel looks like this:


const sampler_t mSampler = CLK_NORMALIZED_COORDS_FALSE |
...