From 2895e27613dab0815e9f0f2f0ed7853d31f856b4 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 2 Apr 2014 14:21:59 +0000 Subject: Add global astra_set_gpu_index function --- include/astra/CudaSartAlgorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/astra/CudaSartAlgorithm.h') diff --git a/include/astra/CudaSartAlgorithm.h b/include/astra/CudaSartAlgorithm.h index 319e1e9..49845f2 100644 --- a/include/astra/CudaSartAlgorithm.h +++ b/include/astra/CudaSartAlgorithm.h @@ -93,7 +93,7 @@ public: bool initialize(CProjector2D* _pProjector, CFloat32ProjectionData2D* _pSinogram, CFloat32VolumeData2D* _pReconstruction, - int _iGPUindex = 0, int _iDetectorSuperSampling = 1); + int _iGPUindex = -1, int _iDetectorSuperSampling = 1); /** Get a description of the class. * -- cgit v1.2.3