Searched refs:NUM_SCAN_THREADS (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | integral.hpp | 60 template <int NUM_SCAN_THREADS, class SrcPtr, typename D> 63 __shared__ D smem[NUM_SCAN_THREADS * 2]; in horizontal_pass() 72 int numBuckets = divUp(cols, NUM_SCAN_THREADS); in horizontal_pass() 84 const D curScanElem = blockScanInclusive<NUM_SCAN_THREADS>(curElem, smem, threadIdx.x); in horizontal_pass() 89 offsetX += NUM_SCAN_THREADS; in horizontal_pass() 93 if (threadIdx.x == NUM_SCAN_THREADS - 1) in horizontal_pass() 102 template <int NUM_SCAN_THREADS, typename T, typename D> 105 __shared__ D smem[NUM_SCAN_THREADS * 2]; in horizontal_pass() 115 int numBuckets = divUp(cols, NUM_SCAN_THREADS); in horizontal_pass() 127 const D curScanElem = blockScanInclusive<NUM_SCAN_THREADS>(curElem, smem, threadIdx.x); in horizontal_pass() [all …]
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NPP_staging.cu | 196 const Ncv32u NUM_SCAN_THREADS = 256; variable 280 Ncv32u numBuckets = (srcWidth + NUM_SCAN_THREADS - 1) >> LOG2_NUM_SCAN_THREADS; in scanRows() 283 __shared__ T_out shmem[NUM_SCAN_THREADS * 2]; in scanRows() 304 curScanElem = blockScanInclusive<T_out, NUM_SCAN_THREADS>(curElemMod, shmem); in scanRows() 310 offsetX += NUM_SCAN_THREADS; in scanRows() 315 if (threadIdx.x == NUM_SCAN_THREADS-1) in scanRows() 347 <<<roi.height, NUM_SCAN_THREADS, 0, nppStGetActiveCUDAstream()>>> in scanRowsWrapperDevice()
|