summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaSirtAlgorithm3D.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:06 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:13:06 +0000
commit9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5 (patch)
tree72487e0d9627c7c7461a210ade532f860002b3a4 /include/astra/CudaSirtAlgorithm3D.h
parent7ce0b7cca179e903e8011cd96c9910cbdf62ae00 (diff)
downloadastra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.gz
astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.bz2
astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.xz
astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.zip
Move setGPUIndex to CAlgorithm base class
Diffstat (limited to 'include/astra/CudaSirtAlgorithm3D.h')
-rw-r--r--include/astra/CudaSirtAlgorithm3D.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/astra/CudaSirtAlgorithm3D.h b/include/astra/CudaSirtAlgorithm3D.h
index c2c794d..c9f2df5 100644
--- a/include/astra/CudaSirtAlgorithm3D.h
+++ b/include/astra/CudaSirtAlgorithm3D.h
@@ -154,7 +154,7 @@ public:
*
* @param _iGPUIndex New GPU index.
*/
- void setGPUIndex(int _iGPUIndex);
+ void setGPUIndex(int _iGPUIndex) { m_iGPUIndex = _iGPUIndex; }
virtual void signalAbort();