summaryrefslogtreecommitdiffstats
path: root/cuda/3d/cgls3d.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 12:30:47 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 12:30:47 +0100
commita70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd (patch)
tree09e13e27b69c254b5bd36d510ca700077bfb8c77 /cuda/3d/cgls3d.cu
parent57ee6b85884b8226b26b7415ef151b4a6e63337c (diff)
downloadastra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.gz
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.bz2
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.xz
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.zip
Add outputScale argument to 3D CUDA BP
Diffstat (limited to 'cuda/3d/cgls3d.cu')
-rw-r--r--cuda/3d/cgls3d.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/cuda/3d/cgls3d.cu b/cuda/3d/cgls3d.cu
index 5071a9b..4f632f3 100644
--- a/cuda/3d/cgls3d.cu
+++ b/cuda/3d/cgls3d.cu
@@ -165,7 +165,7 @@ bool CGLS::iterate(unsigned int iterations)
// p = A'*r
zeroVolumeData(D_p, dims);
- callBP(D_p, D_r);
+ callBP(D_p, D_r, 1.0f);
if (useVolumeMask)
processVol3D<opMul>(D_p, D_maskData, dims);
@@ -195,7 +195,7 @@ bool CGLS::iterate(unsigned int iterations)
// z = A'*r
zeroVolumeData(D_z, dims);
- callBP(D_z, D_r);
+ callBP(D_z, D_r, 1.0f);
if (useVolumeMask)
processVol3D<opMul>(D_z, D_maskData, dims);