diff options
author | Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:13 +0000 |
---|---|---|
committer | wpalenst <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:13 +0000 |
commit | 26033e740147510683e499ceda3b52b51cc67e41 (patch) | |
tree | f29ede151f128a18e74230d5b11e0635de97784e /cuda/2d | |
parent | 4a2d216c50836403ff95720008fb8d338b08293d (diff) | |
download | astra-26033e740147510683e499ceda3b52b51cc67e41.tar.gz astra-26033e740147510683e499ceda3b52b51cc67e41.tar.bz2 astra-26033e740147510683e499ceda3b52b51cc67e41.tar.xz astra-26033e740147510683e499ceda3b52b51cc67e41.zip |
Remove more missed padding
Diffstat (limited to 'cuda/2d')
-rw-r--r-- | cuda/2d/darthelper.cu | 6 |
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); |