summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaEMAlgorithm.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-02 14:21:59 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-02 14:21:59 +0000
commit2895e27613dab0815e9f0f2f0ed7853d31f856b4 (patch)
tree851d7171e07aa6db322cbf9286107b3db20f6a4e /include/astra/CudaEMAlgorithm.h
parent1d1e084d501883784eab283c622cb28510f36d27 (diff)
downloadastra-2895e27613dab0815e9f0f2f0ed7853d31f856b4.tar.gz
astra-2895e27613dab0815e9f0f2f0ed7853d31f856b4.tar.bz2
astra-2895e27613dab0815e9f0f2f0ed7853d31f856b4.tar.xz
astra-2895e27613dab0815e9f0f2f0ed7853d31f856b4.zip
Add global astra_set_gpu_index function
Diffstat (limited to 'include/astra/CudaEMAlgorithm.h')
-rw-r--r--include/astra/CudaEMAlgorithm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/astra/CudaEMAlgorithm.h b/include/astra/CudaEMAlgorithm.h
index ff22dd4..ca9c9f6 100644
--- a/include/astra/CudaEMAlgorithm.h
+++ b/include/astra/CudaEMAlgorithm.h
@@ -72,7 +72,7 @@ public:
bool initialize(CProjector2D* _pProjector,
CFloat32ProjectionData2D* _pSinogram,
CFloat32VolumeData2D* _pReconstruction,
- int _iGPUindex = 0, int _iDetectorSuperSampling = 1,
+ int _iGPUindex = -1, int _iDetectorSuperSampling = 1,
int _iPixelSuperSampling = 1);
/** Get a description of the class.