Lines Matching refs:blockDim
108 const int x = blockIdx.x * blockDim.x + threadIdx.x; in calcMagnitudeKernel()
109 const int y = blockIdx.y * blockDim.y + threadIdx.y; in calcMagnitudeKernel()
174 const int x = blockIdx.x * blockDim.x + threadIdx.x; in calcMapKernel()
175 const int y = blockIdx.y * blockDim.y + threadIdx.y; in calcMapKernel()
251 const int x = blockIdx.x * blockDim.x + threadIdx.x; in edgesHysteresisLocalKernel()
252 const int y = blockIdx.y * blockDim.y + threadIdx.y; in edgesHysteresisLocalKernel()
257 if (threadIdx.y == blockDim.y - 1) in edgesHysteresisLocalKernel()
258 …smem[blockDim.y + 1][threadIdx.x + 1] = checkIdx(y + 1, x, map.rows, map.cols) ? map(y + 1, x) : 0; in edgesHysteresisLocalKernel()
261 if (threadIdx.x == blockDim.x - 1) in edgesHysteresisLocalKernel()
262 …smem[threadIdx.y + 1][blockDim.x + 1] = checkIdx(y, x + 1, map.rows, map.cols) ? map(y, x + 1) : 0; in edgesHysteresisLocalKernel()
265 if (threadIdx.x == blockDim.x - 1 && threadIdx.y == 0) in edgesHysteresisLocalKernel()
266 … smem[0][blockDim.x + 1] = checkIdx(y - 1, x + 1, map.rows, map.cols) ? map(y - 1, x + 1) : 0; in edgesHysteresisLocalKernel()
267 if (threadIdx.x == 0 && threadIdx.y == blockDim.y - 1) in edgesHysteresisLocalKernel()
268 … smem[blockDim.y + 1][0] = checkIdx(y + 1, x - 1, map.rows, map.cols) ? map(y + 1, x - 1) : 0; in edgesHysteresisLocalKernel()
269 if (threadIdx.x == blockDim.x - 1 && threadIdx.y == blockDim.y - 1) in edgesHysteresisLocalKernel()
270 …smem[blockDim.y + 1][blockDim.x + 1] = checkIdx(y + 1, x + 1, map.rows, map.cols) ? map(y + 1, x +… in edgesHysteresisLocalKernel()
395 while (s_counter > 0 && s_counter <= stack_size - blockDim.x) in edgesHysteresisGlobalKernel()
398 const int portion = ::min(s_counter, blockDim.x >> 3); in edgesHysteresisGlobalKernel()
442 for (int i = threadIdx.x; i < s_counter; i += blockDim.x) in edgesHysteresisGlobalKernel()