Home
last modified time | relevance | path

Searched refs:blockIdx (Results 1 – 25 of 79) sorted by relevance

1234

/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu126 if (blockIdx.x * blockDim.z + block_x >= img_block_width) in compute_hists_kernel_many_blocks()
133 const int offset_x = (blockIdx.x * blockDim.z + block_x) * cblock_stride_x + in compute_hists_kernel_many_blocks()
135 const int offset_y = blockIdx.y * cblock_stride_y + 4 * cell_y; in compute_hists_kernel_many_blocks()
185 float* block_hist = block_hists + (blockIdx.y * img_block_width + in compute_hists_kernel_many_blocks()
186 blockIdx.x * blockDim.z + block_x) * in compute_hists_kernel_many_blocks()
267 if (blockIdx.x * blockDim.z + threadIdx.z >= img_block_width) in normalize_hists_kernel_many_blocks()
270 float* hist = block_hists + (blockIdx.y * img_block_width + in normalize_hists_kernel_many_blocks()
271 blockIdx.x * blockDim.z + threadIdx.z) * in normalize_hists_kernel_many_blocks()
340 if (blockIdx.x * blockDim.z + win_x >= img_win_width) in compute_confidence_hists_kernel_many_blocks()
343 const float* hist = block_hists + (blockIdx.y * win_block_stride_y * img_block_width + in compute_confidence_hists_kernel_many_blocks()
[all …]
/external/clang/test/SemaCUDA/
Dcuda-builtin-vars.cu14 out[i++] = blockIdx.x; in kernel()
15 blockIdx.x = 0; // expected-error {{no setter defined for property 'x'}} in kernel()
16 out[i++] = blockIdx.y; in kernel()
17 blockIdx.y = 0; // expected-error {{no setter defined for property 'y'}} in kernel()
18 out[i++] = blockIdx.z; in kernel()
19 blockIdx.z = 0; // expected-error {{no setter defined for property 'z'}} in kernel()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dtranspose.hpp70 blockIdx_y = blockIdx.x; in transpose()
71 blockIdx_x = (blockIdx.x + blockIdx.y) % gridDim.x; in transpose()
75 int bid = blockIdx.x + gridDim.x * blockIdx.y; in transpose()
Dsplit_merge.hpp67 const int x = blockIdx.x * blockDim.x + threadIdx.x; in mergeC2()
68 const int y = blockIdx.y * blockDim.y + threadIdx.y; in mergeC2()
97 const int x = blockIdx.x * blockDim.x + threadIdx.x; in mergeC3()
98 const int y = blockIdx.y * blockDim.y + threadIdx.y; in mergeC3()
128 const int x = blockIdx.x * blockDim.x + threadIdx.x; in mergeC4()
129 const int y = blockIdx.y * blockDim.y + threadIdx.y; in mergeC4()
191 const int x = blockIdx.x * blockDim.x + threadIdx.x; in split()
192 const int y = blockIdx.y * blockDim.y + threadIdx.y; in split()
221 const int x = blockIdx.x * blockDim.x + threadIdx.x; in split()
222 const int y = blockIdx.y * blockDim.y + threadIdx.y; in split()
[all …]
Dcopy.hpp62 const int x = blockIdx.x * blockDim.x + threadIdx.x; in copy()
63 const int y = blockIdx.y * blockDim.y + threadIdx.y; in copy()
107 const int x = blockIdx.x * blockDim.x + threadIdx.x; in copy_tuple()
108 const int y = blockIdx.y * blockDim.y + threadIdx.y; in copy_tuple()
Dpyr_up.hpp68 const int x = blockIdx.x * blockDim.x + threadIdx.x; in pyrUp()
69 const int y = blockIdx.y * blockDim.y + threadIdx.y; in pyrUp()
76 int srcx = static_cast<int>((blockIdx.x * blockDim.x) / 2 + threadIdx.x) - 1; in pyrUp()
77 int srcy = static_cast<int>((blockIdx.y * blockDim.y) / 2 + threadIdx.y) - 1; in pyrUp()
Dtransform.hpp161 const int x = blockIdx.x * blockDim.x + threadIdx.x; in transformSimple()
162 const int y = blockIdx.y * blockDim.y + threadIdx.y; in transformSimple()
173 const int x = blockIdx.x * blockDim.x + threadIdx.x; in transformSimple()
174 const int y = blockIdx.y * blockDim.y + threadIdx.y; in transformSimple()
190 const int x = blockIdx.x * blockDim.x + threadIdx.x; in transformSmart()
191 const int y = blockIdx.y * blockDim.y + threadIdx.y; in transformSmart()
226 const int x = blockIdx.x * blockDim.x + threadIdx.x; in transformSmart()
227 const int y = blockIdx.y * blockDim.y + threadIdx.y; in transformSmart()
396 const int x = blockIdx.x * blockDim.x + threadIdx.x; in transform_tuple()
397 const int y = blockIdx.y * blockDim.y + threadIdx.y; in transform_tuple()
Dminmaxloc.hpp67 const int x0 = blockIdx.x * blockDim.x * patch_x + threadIdx.x; in minMaxLoc_pass_1()
68 const int y0 = blockIdx.y * blockDim.y * patch_y + threadIdx.y; in minMaxLoc_pass_1()
105 const int bid = blockIdx.y * gridDim.x + blockIdx.x; in minMaxLoc_pass_1()
/external/opencv3/modules/cudaimgproc/src/cuda/
Dmean_shift.cu116 …int base = (blockIdx.y * blockDim.y + threadIdx.y) * out_step + (blockIdx.x * blockDim.x + threadI… in do_mean_shift()
124 int x0 = blockIdx.x * blockDim.x + threadIdx.x; in meanshift_kernel()
125 int y0 = blockIdx.y * blockDim.y + threadIdx.y; in meanshift_kernel()
153 int x0 = blockIdx.x * blockDim.x + threadIdx.x; in meanshiftproc_kernel()
154 int y0 = blockIdx.y * blockDim.y + threadIdx.y; in meanshiftproc_kernel()
158 …int basesp = (blockIdx.y * blockDim.y + threadIdx.y) * outspstep + (blockIdx.x * blockDim.x + thre… in meanshiftproc_kernel()
Dcorners.cu66 const int x = blockIdx.x * blockDim.x + threadIdx.x; in cornerHarris_kernel()
67 const int y = blockIdx.y * blockDim.y + threadIdx.y; in cornerHarris_kernel()
100 const int x = blockIdx.x * blockDim.x + threadIdx.x; in cornerHarris_kernel()
101 const int y = blockIdx.y * blockDim.y + threadIdx.y; in cornerHarris_kernel()
171 const int x = blockIdx.x * blockDim.x + threadIdx.x; in cornerMinEigenVal_kernel()
172 const int y = blockIdx.y * blockDim.y + threadIdx.y; in cornerMinEigenVal_kernel()
209 const int x = blockIdx.x * blockDim.x + threadIdx.x; in cornerMinEigenVal_kernel()
210 const int y = blockIdx.y * blockDim.y + threadIdx.y; in cornerMinEigenVal_kernel()
Dmatch_template.cu91 int x = blockDim.x * blockIdx.x + threadIdx.x; in matchTemplateNaiveKernel_CCORR()
92 int y = blockDim.y * blockIdx.y + threadIdx.y; in matchTemplateNaiveKernel_CCORR()
157 int x = blockDim.x * blockIdx.x + threadIdx.x; in matchTemplateNaiveKernel_SQDIFF()
158 int y = blockDim.y * blockIdx.y + threadIdx.y; in matchTemplateNaiveKernel_SQDIFF()
223 const int x = blockIdx.x * blockDim.x + threadIdx.x; in matchTemplatePreparedKernel_SQDIFF_8U()
224 const int y = blockIdx.y * blockDim.y + threadIdx.y; in matchTemplatePreparedKernel_SQDIFF_8U()
293 const int x = blockIdx.x * blockDim.x + threadIdx.x; in matchTemplatePreparedKernel_SQDIFF_NORMED_8U()
294 const int y = blockIdx.y * blockDim.y + threadIdx.y; in matchTemplatePreparedKernel_SQDIFF_NORMED_8U()
339 const int x = blockIdx.x * blockDim.x + threadIdx.x; in matchTemplatePreparedKernel_CCOFF_8U()
340 const int y = blockIdx.y * blockDim.y + threadIdx.y; in matchTemplatePreparedKernel_CCOFF_8U()
[all …]
Dgeneralized_hough.cu72 const int x = blockIdx.x * blockDim.x * PIXELS_PER_THREAD + threadIdx.x; in buildEdgePointList()
73 const int y = blockIdx.y * blockDim.y + threadIdx.y; in buildEdgePointList()
172 const int tid = blockIdx.x * blockDim.x + threadIdx.x; in buildRTable()
213 const int tid = blockIdx.x * blockDim.x + threadIdx.x; in Ballard_Pos_calcHist()
261 const int x = blockIdx.x * blockDim.x + threadIdx.x; in Ballard_Pos_findPosInHist()
262 const int y = blockIdx.y * blockDim.y + threadIdx.y; in Ballard_Pos_findPosInHist()
468 const float p1_theta = thetaList[blockIdx.x]; in Guil_Full_buildFeatureList()
469 const unsigned int coord1 = coordList[blockIdx.x]; in Guil_Full_buildFeatureList()
573 const int tIdx = blockIdx.x; in Guil_Full_calcOHist()
574 const int level = blockIdx.y; in Guil_Full_calcOHist()
[all …]
Dblend.cu55 int x = blockIdx.x * blockDim.x + threadIdx.x; in blendLinearKernel()
56 int y = blockIdx.y * blockDim.y + threadIdx.y; in blendLinearKernel()
89 int x = blockIdx.x * blockDim.x + threadIdx.x; in blendLinearKernel8UC4()
90 int y = blockIdx.y * blockDim.y + threadIdx.y; in blendLinearKernel8UC4()
Dclahe.cu63 const int tx = blockIdx.x; in calcLutKernel()
64 const int ty = blockIdx.y; in calcLutKernel()
139 const int x = blockIdx.x * blockDim.x + threadIdx.x; in tranformKernel()
140 const int y = blockIdx.y * blockDim.y + threadIdx.y; in tranformKernel()
Dhough_lines.cu63 const int n = blockIdx.x; in linesAccumGlobal()
98 const int n = blockIdx.x; in linesAccumShared()
151 const int r = blockIdx.x * blockDim.x + threadIdx.x; in linesGetResult()
152 const int n = blockIdx.y * blockDim.y + threadIdx.y; in linesGetResult()
/external/opencv3/modules/cudalegacy/src/cuda/
Dneedle_map.cu61 const int x = blockIdx.x * NEEDLE_MAP_SCALE + threadIdx.x; in NeedleMapAverageKernel()
62 const int y = blockIdx.y * NEEDLE_MAP_SCALE; in NeedleMapAverageKernel()
111 u_avg(blockIdx.y, blockIdx.x) = u_col_sum[0]; in NeedleMapAverageKernel()
112 v_avg(blockIdx.y, blockIdx.x) = v_col_sum[0]; in NeedleMapAverageKernel()
130 const int x = blockIdx.x * blockDim.x + threadIdx.x; in NeedleMapVertexKernel()
131 const int y = blockIdx.y * blockDim.y + threadIdx.y; in NeedleMapVertexKernel()
Dccomponetns.cu184 int x = threadIdx.x + blockIdx.x * blockDim.x; in computeConnectivity()
185 int y = threadIdx.y + blockIdx.y * blockDim.y; in computeConnectivity()
234 int x = threadIdx.x + blockIdx.x * TILE_COLS; in lableTiles()
235 int y = threadIdx.y + blockIdx.y * TILE_ROWS; in lableTiles()
357 xloc += blockIdx.x * TILE_COLS; in lableTiles()
358 yloc += blockIdx.y * TILE_ROWS; in lableTiles()
405 int ybegin = blockIdx.y * (tilesNumY * tileSizeY); in crossMerge()
408 if (blockIdx.y == gridDim.y - 1) in crossMerge()
417 int xbegin = blockIdx.x * tilesNumX * tileSizeX; in crossMerge()
420 if (blockIdx.x == gridDim.x - 1) in crossMerge()
[all …]
DNPP_staging.cu232 return tex1Dfetch(tex8u, texOffs + srcStride * blockIdx.x + curElemOffs); in readElem()
275 d_src += srcStride * blockIdx.x; in scanRows()
278 d_II += IIstride * blockIdx.x; in scanRows()
735 int curX = blockIdx.x * blockDim.x + threadIdx.x; in decimate_C1R()
736 int curY = blockIdx.y * blockDim.y + threadIdx.y; in decimate_C1R()
923 Ncv32u x_offs = blockIdx.x * NUM_RECTSTDDEV_THREADS + threadIdx.x; in rectStdDev_32f_C1R()
929 Ncv32u sum_offset = blockIdx.y * sumStep + x_offs; in rectStdDev_32f_C1R()
930 Ncv32u sqsum_offset = blockIdx.y * sqsumStep + x_offs; in rectStdDev_32f_C1R()
977 d_norm[blockIdx.y * normStep + x_offs] = stddev; in rectStdDev_32f_C1R()
1129 blockIdx_y = blockIdx.x; in transpose()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DWorkList.h32 unsigned blockIdx; // This is the index of the next statement. variable
40 blockIdx(idx) {} in WorkListUnit()
46 blockIdx(0) {} in WorkListUnit()
58 unsigned getIndex() const { return blockIdx; } in getIndex()
/external/clang/test/CodeGenCUDA/
Dcuda-builtin-vars.cu13 out[i++] = blockIdx.x; // CHECK: call i32 @llvm.ptx.read.ctaid.x() in kernel()
14 out[i++] = blockIdx.y; // CHECK: call i32 @llvm.ptx.read.ctaid.y() in kernel()
15 out[i++] = blockIdx.z; // CHECK: call i32 @llvm.ptx.read.ctaid.z() in kernel()
/external/opencv3/modules/cudastereo/src/cuda/
Dutil.cu59 const int x = blockIdx.x * blockDim.x + threadIdx.x; in reprojectImageTo3D()
60 const int y = blockIdx.y * blockDim.y + threadIdx.y; in reprojectImageTo3D()
168 const int x = (blockIdx.x * blockDim.x + threadIdx.x) << 2; in drawColorDisp()
169 const int y = blockIdx.y * blockDim.y + threadIdx.y; in drawColorDisp()
188 const int x = (blockIdx.x * blockDim.x + threadIdx.x) << 1; in drawColorDisp()
189 const int y = blockIdx.y * blockDim.y + threadIdx.y; in drawColorDisp()
Dstereocsbp.cu90 int x = blockIdx.x * blockDim.x + threadIdx.x; in get_first_k_initial_global()
91 int y = blockIdx.y * blockDim.y + threadIdx.y; in get_first_k_initial_global()
125 int x = blockIdx.x * blockDim.x + threadIdx.x; in get_first_k_initial_local()
126 int y = blockIdx.y * blockDim.y + threadIdx.y; in get_first_k_initial_local()
183 int x = blockIdx.x * blockDim.x + threadIdx.x; in init_data_cost()
184 int y = blockIdx.y * blockDim.y + threadIdx.y; in init_data_cost()
225 int x_out = blockIdx.x; in init_data_cost_reduce()
226 int y_out = blockIdx.y % h; in init_data_cost_reduce()
227 int d = (blockIdx.y / h) * blockDim.z + threadIdx.z; in init_data_cost_reduce()
359 int x = blockIdx.x * blockDim.x + threadIdx.x; in compute_data_cost()
[all …]
/external/opencv3/modules/superres/src/cuda/
Dbtv_l1_gpu.cu78 const int x = blockIdx.x * blockDim.x + threadIdx.x; in buildMotionMapsKernel()
79 const int y = blockIdx.y * blockDim.y + threadIdx.y; in buildMotionMapsKernel()
117 const int x = blockIdx.x * blockDim.x + threadIdx.x; in upscaleKernel()
118 const int y = blockIdx.y * blockDim.y + threadIdx.y; in upscaleKernel()
197 const int x = blockIdx.x * blockDim.x + threadIdx.x + ksize; in calcBtvRegularizationKernel()
198 const int y = blockIdx.y * blockDim.y + threadIdx.y + ksize; in calcBtvRegularizationKernel()
/external/opencv3/modules/cudaoptflow/src/cuda/
Dtvl1flow.cu59 const int x = blockIdx.x * blockDim.x + threadIdx.x; in centeredGradientKernel()
60 const int y = blockIdx.y * blockDim.y + threadIdx.y; in centeredGradientKernel()
110 const int x = blockIdx.x * blockDim.x + threadIdx.x; in warpBackwardKernel()
111 const int y = blockIdx.y * blockDim.y + threadIdx.y; in warpBackwardKernel()
223 const int x = blockIdx.x * blockDim.x + threadIdx.x; in estimateUKernel()
224 const int y = blockIdx.y * blockDim.y + threadIdx.y; in estimateUKernel()
322 const int x = blockIdx.x * blockDim.x + threadIdx.x; in estimateDualVariablesKernel()
323 const int y = blockIdx.y * blockDim.y + threadIdx.y; in estimateDualVariablesKernel()
/external/opencv3/modules/photo/src/cuda/
Dnlm.cu72 const int i = blockDim.y * blockIdx.y + threadIdx.y; in nlm_kernel()
73 const int j = blockDim.x * blockIdx.x + threadIdx.x; in nlm_kernel()
432 int tbx = blockIdx.x * TILE_COLS; in operator ()()
433 int tby = blockIdx.y * TILE_ROWS; in operator ()()
439 …col_sums.data = buffer.ptr(dst.cols + blockIdx.x * block_window) + blockIdx.y * search_window * se… in operator ()()
443 up_col_sums.data = buffer.data + blockIdx.y * search_window * search_window; in operator ()()
519 int x = threadIdx.x + blockIdx.x * blockDim.x; in fnlm_split_kernel()
520 int y = threadIdx.y + blockIdx.y * blockDim.y; in fnlm_split_kernel()
543 int x = threadIdx.x + blockIdx.x * blockDim.x; in fnlm_merge_kernel()
544 int y = threadIdx.y + blockIdx.y * blockDim.y; in fnlm_merge_kernel()

1234