Lines Matching refs:shist
57 __shared__ int shist[256]; in histogram256Kernel() local
62 shist[tid] = 0; in histogram256Kernel()
74 Emulation::smem::atomicAdd(&shist[(data >> 0) & 0xFFU], 1); in histogram256Kernel()
75 Emulation::smem::atomicAdd(&shist[(data >> 8) & 0xFFU], 1); in histogram256Kernel()
76 Emulation::smem::atomicAdd(&shist[(data >> 16) & 0xFFU], 1); in histogram256Kernel()
77 Emulation::smem::atomicAdd(&shist[(data >> 24) & 0xFFU], 1); in histogram256Kernel()
85 Emulation::smem::atomicAdd(&shist[data], 1); in histogram256Kernel()
92 const int histVal = shist[tid]; in histogram256Kernel()
114 …__device__ __forceinline__ void histEvenInc(int* shist, uint data, int binSize, int lowerLevel, in… in histEvenInc() argument
119 Emulation::smem::atomicAdd(shist + ind, 1); in histEvenInc()
126 extern __shared__ int shist[]; in histEven8u()
132 shist[tid] = 0; in histEven8u()
146 histEvenInc(shist, (data >> 0) & 0xFFU, binSize, lowerLevel, upperLevel); in histEven8u()
147 histEvenInc(shist, (data >> 8) & 0xFFU, binSize, lowerLevel, upperLevel); in histEven8u()
148 histEvenInc(shist, (data >> 16) & 0xFFU, binSize, lowerLevel, upperLevel); in histEven8u()
149 histEvenInc(shist, (data >> 24) & 0xFFU, binSize, lowerLevel, upperLevel); in histEven8u()
157 histEvenInc(shist, data, binSize, lowerLevel, upperLevel); in histEven8u()
166 const int histVal = shist[tid]; in histEven8u()