diff options
Diffstat (limited to 'cuda/3d')
-rw-r--r-- | cuda/3d/fdk.cu | 4 | ||||
-rw-r--r-- | cuda/3d/util3d.cu | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cuda/3d/fdk.cu b/cuda/3d/fdk.cu index ad0604c..d439d9b 100644 --- a/cuda/3d/fdk.cu +++ b/cuda/3d/fdk.cu @@ -354,7 +354,7 @@ bool FDK_Filter(cudaPitchedPtr D_projData, for (int v = 0; v < dims.iProjV; ++v) { - ok = runCudaFFT(dims.iProjAngles, D_sinoData, projPitch, 0, + ok = runCudaFFT(dims.iProjAngles, D_sinoData, projPitch, dims.iProjU, iPaddedDetCount, iHalfFFTSize, D_sinoFFT); @@ -364,7 +364,7 @@ bool FDK_Filter(cudaPitchedPtr D_projData, ok = runCudaIFFT(dims.iProjAngles, D_sinoFFT, D_sinoData, projPitch, - 0, dims.iProjU, iPaddedDetCount, iHalfFFTSize); + dims.iProjU, iPaddedDetCount, iHalfFFTSize); if (!ok) break; diff --git a/cuda/3d/util3d.cu b/cuda/3d/util3d.cu index 81ea823..6dc79c7 100644 --- a/cuda/3d/util3d.cu +++ b/cuda/3d/util3d.cu @@ -487,7 +487,7 @@ bool transferProjectionsToArray(cudaPitchedPtr D_projData, cudaArray* array, con float dotProduct3D(cudaPitchedPtr data, unsigned int x, unsigned int y, unsigned int z) { - return astraCUDA::dotProduct2D((float*)data.ptr, data.pitch/sizeof(float), x, y*z, 0, 0); + return astraCUDA::dotProduct2D((float*)data.ptr, data.pitch/sizeof(float), x, y*z); } |