diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2015-12-01 12:18:16 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <wjp@usecode.org> | 2015-12-01 12:18:16 +0100 |
commit | dcfd15335549fa8e3e56260791cc4510331f7be6 (patch) | |
tree | 48c10731e8ed45224bbfda66a57e5b19225c9c10 /src/CudaSirtAlgorithm.cpp | |
parent | 44fb28ed0045253f79064a5e09c00ba20abe95d2 (diff) | |
parent | fb44faa449990400861f1869b52f5afc8fefe01b (diff) | |
download | astra-dcfd15335549fa8e3e56260791cc4510331f7be6.tar.gz astra-dcfd15335549fa8e3e56260791cc4510331f7be6.tar.bz2 astra-dcfd15335549fa8e3e56260791cc4510331f7be6.tar.xz astra-dcfd15335549fa8e3e56260791cc4510331f7be6.zip |
Merge pull request #94 from wjp/cuda_options2
Improve option passing via CudaProjector(2D/3D)
Diffstat (limited to 'src/CudaSirtAlgorithm.cpp')
-rw-r--r-- | src/CudaSirtAlgorithm.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CudaSirtAlgorithm.cpp b/src/CudaSirtAlgorithm.cpp index d424915..ab0a418 100644 --- a/src/CudaSirtAlgorithm.cpp +++ b/src/CudaSirtAlgorithm.cpp @@ -98,11 +98,9 @@ bool CCudaSirtAlgorithm::initialize(const Config& _cfg) // Initialize - C++ bool CCudaSirtAlgorithm::initialize(CProjector2D* _pProjector, CFloat32ProjectionData2D* _pSinogram, - CFloat32VolumeData2D* _pReconstruction, - int _iGPUindex, int _iDetectorSuperSampling, - int _iPixelSuperSampling) + CFloat32VolumeData2D* _pReconstruction) { - m_bIsInitialized = CCudaReconstructionAlgorithm2D::initialize(_pProjector, _pSinogram, _pReconstruction, _iGPUindex, _iDetectorSuperSampling, _iPixelSuperSampling); + m_bIsInitialized = CCudaReconstructionAlgorithm2D::initialize(_pProjector, _pSinogram, _pReconstruction); if (!m_bIsInitialized) return false; |