Home
last modified time | relevance | path

Searched refs:PIXELS_PER_THREAD (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/cudaimgproc/src/cuda/
Dbuild_point_list.cu54 template <int PIXELS_PER_THREAD>
57 __shared__ unsigned int s_queues[4][32 * PIXELS_PER_THREAD]; in buildPointList()
61 const int x = blockIdx.x * blockDim.x * PIXELS_PER_THREAD + threadIdx.x; in buildPointList()
72 … for (int i = 0, xx = x; i < PIXELS_PER_THREAD && xx < src.cols; ++i, xx += blockDim.x) in buildPointList()
113 const int PIXELS_PER_THREAD = 16; in buildPointList_gpu() local
121 const dim3 grid(divUp(src.cols, block.x * PIXELS_PER_THREAD), divUp(src.rows, block.y)); in buildPointList_gpu()
123 …cudaSafeCall( cudaFuncSetCacheConfig(buildPointList<PIXELS_PER_THREAD>, cudaFuncCachePreferShared)… in buildPointList_gpu()
125 buildPointList<PIXELS_PER_THREAD><<<grid, block>>>(src, list); in buildPointList_gpu()
Dgeneralized_hough.cu63 template <typename T, int PIXELS_PER_THREAD>
67 __shared__ unsigned int s_coordLists[4][32 * PIXELS_PER_THREAD]; in buildEdgePointList()
68 __shared__ float s_thetaLists[4][32 * PIXELS_PER_THREAD]; in buildEdgePointList()
72 const int x = blockIdx.x * blockDim.x * PIXELS_PER_THREAD + threadIdx.x; in buildEdgePointList()
86 … for (int i = 0, xx = x; i < PIXELS_PER_THREAD && xx < edges.cols; ++i, xx += blockDim.x) in buildEdgePointList()
141 const int PIXELS_PER_THREAD = 8; in buildEdgePointList_gpu() local
149 … const dim3 grid(divUp(edges.cols, block.x * PIXELS_PER_THREAD), divUp(edges.rows, block.y)); in buildEdgePointList_gpu()
151 …cudaSafeCall( cudaFuncSetCacheConfig(buildEdgePointList<T, PIXELS_PER_THREAD>, cudaFuncCachePrefer… in buildEdgePointList_gpu()
153 …buildEdgePointList<T, PIXELS_PER_THREAD><<<grid, block>>>(edges, (PtrStepSz<T>) dx, (PtrStepSz<T>)… in buildEdgePointList_gpu()