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/CudaCglsAlgorithm.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/CudaCglsAlgorithm.cpp')
-rw-r--r-- | src/CudaCglsAlgorithm.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CudaCglsAlgorithm.cpp b/src/CudaCglsAlgorithm.cpp index 0cedff6..9dd4f78 100644 --- a/src/CudaCglsAlgorithm.cpp +++ b/src/CudaCglsAlgorithm.cpp @@ -77,11 +77,9 @@ bool CCudaCglsAlgorithm::initialize(const Config& _cfg) // Initialize - C++ bool CCudaCglsAlgorithm::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; |