Lines Matching refs:threads
168 dim3 threads(32, 8, 1);
171 grid.x = divUp(left.cols, threads.x);
172 grid.y = divUp(left.rows, threads.y);
174 comp_data<1, short><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<short>)data);
182 dim3 threads(32, 8, 1);
185 grid.x = divUp(left.cols, threads.x);
186 grid.y = divUp(left.rows, threads.y);
188 comp_data<1, float><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<float>)data);
197 dim3 threads(32, 8, 1);
200 grid.x = divUp(left.cols, threads.x);
201 grid.y = divUp(left.rows, threads.y);
203 comp_data<3, short><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<short>)data);
211 dim3 threads(32, 8, 1);
214 grid.x = divUp(left.cols, threads.x);
215 grid.y = divUp(left.rows, threads.y);
217 comp_data<3, float><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<float>)data);
226 dim3 threads(32, 8, 1);
229 grid.x = divUp(left.cols, threads.x);
230 grid.y = divUp(left.rows, threads.y);
232 comp_data<4, short><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<short>)data);
240 dim3 threads(32, 8, 1);
243 grid.x = divUp(left.cols, threads.x);
244 grid.y = divUp(left.rows, threads.y);
246 comp_data<4, float><<<grid, threads, 0, stream>>>(left, right, (PtrStepSz<float>)data);
280 dim3 threads(32, 8, 1);
283 grid.x = divUp(dst_cols, threads.x);
284 grid.y = divUp(dst_rows, threads.y);
286 data_step_down<T><<<grid, threads, 0, stream>>>(dst_cols, dst_rows, src_rows, (PtrStepSz<T>)src, (PtrStepSz<T>)dst);
322 dim3 threads(32, 8, 1);
325 grid.x = divUp(dst_cols, threads.x);
326 grid.y = divUp(dst_rows, threads.y);
330 level_up_message<T><<<grid, threads, 0, stream>>>(dst_cols, dst_rows, src_rows, (PtrStepSz<T>)mus[src_idx], (PtrStepSz<T>)mus[dst_idx]);
333 level_up_message<T><<<grid, threads, 0, stream>>>(dst_cols, dst_rows, src_rows, (PtrStepSz<T>)mds[src_idx], (PtrStepSz<T>)mds[dst_idx]);
336 level_up_message<T><<<grid, threads, 0, stream>>>(dst_cols, dst_rows, src_rows, (PtrStepSz<T>)mls[src_idx], (PtrStepSz<T>)mls[dst_idx]);
339 level_up_message<T><<<grid, threads, 0, stream>>>(dst_cols, dst_rows, src_rows, (PtrStepSz<T>)mrs[src_idx], (PtrStepSz<T>)mrs[dst_idx]);
451 dim3 threads(32, 8, 1);
454 grid.x = divUp(cols, threads.x << 1);
455 grid.y = divUp(rows, threads.y);
461 one_iteration<T><<<grid, threads, 0, stream>>>(t, elem_step, (T*)u.data, (T*)d.data, (T*)l.data, (T*)r.data, (PtrStepSz<T>)data, cols, rows);
518 dim3 threads(32, 8, 1);
521 grid.x = divUp(disp.cols, threads.x);
522 grid.y = divUp(disp.rows, threads.y);
526 output<T><<<grid, threads, 0, stream>>>(elem_step, (const T*)u.data, (const T*)d.data, (const T*)l.data, (const T*)r.data, (const T*)data.data, disp);