summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:10 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:10 +0000
commit4a2d216c50836403ff95720008fb8d338b08293d (patch)
treeadfa3a1133801fcb2f27953c453bb69f07391551
parent9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5 (diff)
downloadastra-4a2d216c50836403ff95720008fb8d338b08293d.tar.gz
astra-4a2d216c50836403ff95720008fb8d338b08293d.tar.bz2
astra-4a2d216c50836403ff95720008fb8d338b08293d.tar.xz
astra-4a2d216c50836403ff95720008fb8d338b08293d.zip
Remove missed padding
-rw-r--r--cuda/2d/fan_bp.cu2
1 files changed, 1 insertions, 1 deletions
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];