Lines Matching refs:BINS
57 __local int localhist[BINS];
60 for (int i = lid; i < BINS; i += WGS)
111 __global int * hist = (__global int *)(histptr + gid * BINS * (int)sizeof(int));
113 for (int i = lid; i < BINS; i += WGS)
130 #if WGS >= BINS
134 for (int i = lid; i < BINS; i += WGS)
142 for (int j = lid; j < BINS; j += WGS)
143 #if WGS >= BINS
148 ghist += BINS;
151 #if WGS >= BINS
152 if (lid < BINS)
160 __local int sumhist[BINS];
163 #if WGS >= BINS
167 for (int i = lid; i < BINS; i += WGS)
175 for (int j = lid; j < BINS; j += WGS)
176 #if WGS >= BINS
181 ghist += BINS;
184 #if WGS >= BINS
185 if (lid < BINS)
199 for (int j = 0; j < BINS; ++j)
206 for (sumhist[i++] = 0; i < BINS; i++)
216 for (int i = lid; i < BINS; i += WGS)