summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaSirtAlgorithm.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-03-23 15:29:43 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-03-23 16:03:16 +0100
commit495903529d473a9968c1333d5a515e3b94732f0b (patch)
treea64a970fc3b5f0193df56348e7dd3c4e9161f26f /include/astra/CudaSirtAlgorithm.h
parent37e1c06154362e26acdb4b09c4a251ec2ad0a316 (diff)
downloadastra-495903529d473a9968c1333d5a515e3b94732f0b.tar.gz
astra-495903529d473a9968c1333d5a515e3b94732f0b.tar.bz2
astra-495903529d473a9968c1333d5a515e3b94732f0b.tar.xz
astra-495903529d473a9968c1333d5a515e3b94732f0b.zip
Move CUDA algorithm initialization to its own function
Diffstat (limited to 'include/astra/CudaSirtAlgorithm.h')
-rw-r--r--include/astra/CudaSirtAlgorithm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/astra/CudaSirtAlgorithm.h b/include/astra/CudaSirtAlgorithm.h
index 929ac30..91cc206 100644
--- a/include/astra/CudaSirtAlgorithm.h
+++ b/include/astra/CudaSirtAlgorithm.h
@@ -93,8 +93,6 @@ public:
*/
virtual bool initialize(const Config& _cfg);
- virtual void run(int _iNrIterations);
-
/** Initialize class.
*
* @param _pProjector Projector Object. (Optional)
@@ -114,6 +112,8 @@ public:
protected:
CFloat32VolumeData2D* m_pMinMask;
CFloat32VolumeData2D* m_pMaxMask;
+
+ virtual void initCUDAAlgorithm();
};
// inline functions