summaryrefslogtreecommitdiffstats
path: root/cuda
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:13 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:13 +0000
commit26033e740147510683e499ceda3b52b51cc67e41 (patch)
treef29ede151f128a18e74230d5b11e0635de97784e /cuda
parent4a2d216c50836403ff95720008fb8d338b08293d (diff)
downloadastra-26033e740147510683e499ceda3b52b51cc67e41.tar.gz
astra-26033e740147510683e499ceda3b52b51cc67e41.tar.bz2
astra-26033e740147510683e499ceda3b52b51cc67e41.tar.xz
astra-26033e740147510683e499ceda3b52b51cc67e41.zip
Remove more missed padding
Diffstat (limited to 'cuda')
-rw-r--r--cuda/2d/darthelper.cu6
1 files changed, 3 insertions, 3 deletions
diff --git a/cuda/2d/darthelper.cu b/cuda/2d/darthelper.cu
index b61eaae..064913a 100644
--- a/cuda/2d/darthelper.cu
+++ b/cuda/2d/darthelper.cu
@@ -320,11 +320,11 @@ void dartSmoothing(float* out, const float* in, float b, unsigned int radius, un
float* D_outData;
unsigned int pitch;
- allocateVolume(D_inData, width+2, height+2, pitch);
+ allocateVolume(D_inData, width, height, pitch);
copyVolumeToDevice(in, width, width, height, D_inData, pitch);
- allocateVolume(D_outData, width+2, height+2, pitch);
- zeroVolume(D_outData, pitch, width+2, height+2);
+ allocateVolume(D_outData, width, height, pitch);
+ zeroVolume(D_outData, pitch, width, height);
dim3 blockSize(16,16);
dim3 gridSize((width+15)/16, (height+15)/16);