From 356d09127e8887e6bb95ef23c56492ce385162e1 Mon Sep 17 00:00:00 2001 From: Moises Fernandez <moisesf@fmrib.ox.ac.uk> Date: Fri, 10 May 2013 13:51:16 +0000 Subject: [PATCH] Reduce precision in some structures (double to float) --- CUDA/runmcmc.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CUDA/runmcmc.h b/CUDA/runmcmc.h index 5d87331..c038fc0 100644 --- a/CUDA/runmcmc.h +++ b/CUDA/runmcmc.h @@ -11,10 +11,10 @@ ////////////////////////////////////////////////////// void init_Fibres_Multifibres( //INPUT - thrust::device_vector<double> datam_gpu, - thrust::device_vector<double> params_gpu, + thrust::device_vector<float> datam_gpu, + thrust::device_vector<float> params_gpu, thrust::device_vector<float> tau_gpu, - thrust::device_vector<double> bvals_gpu, + thrust::device_vector<float> bvals_gpu, thrust::device_vector<double> alpha_gpu, thrust::device_vector<double> beta_gpu, const int ndirections, @@ -26,8 +26,8 @@ void init_Fibres_Multifibres( //INPUT thrust::device_vector<double>& isosignals_gpu); void runmcmc_burnin( //INPUT - thrust::device_vector<double> datam_gpu, - thrust::device_vector<double> bvals_gpu, + thrust::device_vector<float> datam_gpu, + thrust::device_vector<float> bvals_gpu, thrust::device_vector<double> alpha_gpu, thrust::device_vector<double> beta_gpu, const int ndirections, @@ -41,8 +41,8 @@ void runmcmc_burnin( //INPUT void runmcmc_record( //INPUT - thrust::device_vector<double> datam_gpu, - thrust::device_vector<double> bvals_gpu, + thrust::device_vector<float> datam_gpu, + thrust::device_vector<float> bvals_gpu, thrust::device_vector<double> alpha_gpu, thrust::device_vector<double> beta_gpu, thrust::device_vector<FibreGPU> fibres_gpu, -- GitLab