From 4a2d216c50836403ff95720008fb8d338b08293d Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 16 Apr 2014 11:13:10 +0000 Subject: Remove missed padding --- cuda/2d/fan_bp.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuda/2d/fan_bp.cu b/cuda/2d/fan_bp.cu index 9bec25d..dd2a7b6 100644 --- a/cuda/2d/fan_bp.cu +++ b/cuda/2d/fan_bp.cu @@ -284,7 +284,7 @@ bool FanBP(float* D_volumeData, unsigned int volumePitch, // TODO: process angles block by block assert(dims.iProjAngles <= g_MaxAngles); - bindProjDataTexture(D_projData, projPitch, dims.iProjDets+2, dims.iProjAngles); + bindProjDataTexture(D_projData, projPitch, dims.iProjDets, dims.iProjAngles); // transfer angles to constant memory float* tmp = new float[dims.iProjAngles]; -- cgit v1.2.3