From fa1939d2294b408e8a62f2d91149f369f8710113 Mon Sep 17 00:00:00 2001 From: couturie Date: Tue, 21 May 2013 17:11:44 +0200 Subject: [PATCH] new --- BookGPU/Chapters/chapter4/code/convoGeneSh1.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BookGPU/Chapters/chapter4/code/convoGeneSh1.cu b/BookGPU/Chapters/chapter4/code/convoGeneSh1.cu index dcb3379..95eed34 100644 --- a/BookGPU/Chapters/chapter4/code/convoGeneSh1.cu +++ b/BookGPU/Chapters/chapter4/code/convoGeneSh1.cu @@ -11,7 +11,7 @@ __global__ void kernel_convoNonSepSh_8p(unsigned char *output, int j_dim, int r) int i = __umul24( blockIdx.y, blockDim.y) + threadIdx.y ; int j0= __umul24(blockIdx.x,blockDim.x)<<3 ; // block's base point int idx = __umul24(i,j_dim) + j ; // absolute index - int idrow = threadIdx.y*(bdimX+k-1) ; // line's offset in sh mem + int idrow = threadIdx.y*(bdimX+k-1) ; // line's offset in sh mem // shared memory declaration extern __shared__ unsigned char roi8p[]; -- 2.39.5