HomeSort by relevance Sort by last modified time
    Searched refs:BLOCK_DIM_X (Results 1 - 2 of 2) sorted by null

  /external/opencv3/modules/cudafilters/src/cuda/
row_filter.hpp 61 const int BLOCK_DIM_X = 32;
66 const int BLOCK_DIM_X = 32;
74 __shared__ sum_t smem[BLOCK_DIM_Y][(PATCH_PER_BLOCK + 2 * HALO_SIZE) * BLOCK_DIM_X];
83 const int xStart = blockIdx.x * (PATCH_PER_BLOCK * BLOCK_DIM_X) + threadIdx.x;
90 smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart - (HALO_SIZE - j) * BLOCK_DIM_X]);
97 smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_low(xStart - (HALO_SIZE - j) * BLOCK_DIM_X, src_row));
105 smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + j * BLOCK_DIM_X])
    [all...]
column_filter.hpp 61 const int BLOCK_DIM_X = 16;
66 const int BLOCK_DIM_X = 16;
74 __shared__ sum_t smem[(PATCH_PER_BLOCK + 2 * HALO_SIZE) * BLOCK_DIM_Y][BLOCK_DIM_X];
76 const int x = blockIdx.x * BLOCK_DIM_X + threadIdx.x;
148 int BLOCK_DIM_X;
154 BLOCK_DIM_X = 16;
160 BLOCK_DIM_X = 16;
165 const dim3 block(BLOCK_DIM_X, BLOCK_DIM_Y);
166 const dim3 grid(divUp(src.cols, BLOCK_DIM_X), divUp(src.rows, BLOCK_DIM_Y * PATCH_PER_BLOCK));

Completed in 1259 milliseconds