]> AND Private Git Repository - book_gpu.git/blob - BookGPU/Chapters/chapter4/code/convoSepSh.cu
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
preface
[book_gpu.git] / BookGPU / Chapters / chapter4 / code / convoSepSh.cu
1 dimGrid = dim3( (L/dimBlock.x)/8, H/dimBlock.y, 1 ) ;
2
3 kernel_convoSepShx8pV<<< dimGrid, dimBlock, 8*dimBlock.x*(dimBlock.y+2*r)*sizeof(char) >>>(d_outc, L, r );                
4 cudaMemcpyToArray( array_img_inc, 0, 0, d_outc, H*L*sizeof(char) , cudaMemcpyDeviceToDevice) ;
5 kernel_convoSepShx8pH<<< dimGrid, dimBlock, 8*(dimBlock.x+2*r)*dimBLock.y*sizeof(char) >>>(d_outc, L, r );
6