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/CudaSartAlgorithm.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/CudaSartAlgorithm.cpp')
-rw-r--r-- | src/CudaSartAlgorithm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/CudaSartAlgorithm.cpp b/src/CudaSartAlgorithm.cpp index 8c0c6d7..d202847 100644 --- a/src/CudaSartAlgorithm.cpp +++ b/src/CudaSartAlgorithm.cpp @@ -116,10 +116,9 @@ bool CCudaSartAlgorithm::initialize(const Config& _cfg) // Initialize - C++ bool CCudaSartAlgorithm::initialize(CProjector2D* _pProjector, CFloat32ProjectionData2D* _pSinogram, - CFloat32VolumeData2D* _pReconstruction, - int _iGPUindex, int _iDetectorSuperSampling) + CFloat32VolumeData2D* _pReconstruction) { - m_bIsInitialized = CCudaReconstructionAlgorithm2D::initialize(_pProjector, _pSinogram, _pReconstruction, _iGPUindex, _iDetectorSuperSampling, 1); + m_bIsInitialized = CCudaReconstructionAlgorithm2D::initialize(_pProjector, _pSinogram, _pReconstruction); if (!m_bIsInitialized) return false; |