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/CudaSirtAlgorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/astra/CudaSirtAlgorithm.h') diff --git a/include/astra/CudaSirtAlgorithm.h b/include/astra/CudaSirtAlgorithm.h index 7f3d67b..34b5a66 100644 --- a/include/astra/CudaSirtAlgorithm.h +++ b/include/astra/CudaSirtAlgorithm.h @@ -107,7 +107,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. -- cgit v1.2.3