From 65bef258cbe185e0e35fbd003f578fc5910708ce Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Wed, 15 Feb 2012 12:27:51 +0000 Subject: [PATCH] fixed compilation error --- modules/gpu/src/cuda/row_filter.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gpu/src/cuda/row_filter.cu b/modules/gpu/src/cuda/row_filter.cu index 1e4d3cc..b252b21 100644 --- a/modules/gpu/src/cuda/row_filter.cu +++ b/modules/gpu/src/cuda/row_filter.cu @@ -70,7 +70,7 @@ namespace cv { namespace gpu { namespace device typedef typename TypeVec::cn>::vec_type sum_t; - __shared__ typename sum_t smem[BLOCK_DIM_Y][(PATCH_PER_BLOCK + 2 * HALO_SIZE) * BLOCK_DIM_X]; + __shared__ sum_t smem[BLOCK_DIM_Y][(PATCH_PER_BLOCK + 2 * HALO_SIZE) * BLOCK_DIM_X]; const int y = blockIdx.y * BLOCK_DIM_Y + threadIdx.y; -- 2.7.4