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/CudaReconstructionAlgorithm2D.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/astra/CudaReconstructionAlgorithm2D.h') diff --git a/include/astra/CudaReconstructionAlgorithm2D.h b/include/astra/CudaReconstructionAlgorithm2D.h index 88fc344..68f4b5d 100644 --- a/include/astra/CudaReconstructionAlgorithm2D.h +++ b/include/astra/CudaReconstructionAlgorithm2D.h @@ -90,7 +90,7 @@ public: virtual bool initialize(CProjector2D* _pProjector, CFloat32ProjectionData2D* _pSinogram, CFloat32VolumeData2D* _pReconstruction, - int _iGPUindex = 0, int _iDetectorSuperSampling = 1, + int _iGPUindex = -1, int _iDetectorSuperSampling = 1, int _iPixelSuperSampling = 1); -- cgit v1.2.3