From 8f79e848f06007c63765451fbfbed54c5f74e77d Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Thu, 7 Sep 2023 07:09:19 +0200 Subject: [PATCH] Remove remnants of GPU code --- matlab/default_option_values.m | 3 --- matlab/dyn_first_order_solver.m | 5 ----- 2 files changed, 8 deletions(-) diff --git a/matlab/default_option_values.m b/matlab/default_option_values.m index 39b7738230..712fd6ef18 100644 --- a/matlab/default_option_values.m +++ b/matlab/default_option_values.m @@ -758,9 +758,6 @@ options_.endogenous_prior_restrictions.moment={}; % OSR Optimal Simple Rules options_.osr.opt_algo=4; -% use GPU -options_.gpu = false; - %Geweke convergence diagnostics options_.convergence.geweke.taper_steps=[4 8 15]; options_.convergence.geweke.geweke_interval=[0.2 0.5]; diff --git a/matlab/dyn_first_order_solver.m b/matlab/dyn_first_order_solver.m index 23fb281a70..41d49cbdd5 100644 --- a/matlab/dyn_first_order_solver.m +++ b/matlab/dyn_first_order_solver.m @@ -159,11 +159,6 @@ if task ~= 1 && (DynareOptions.dr_cycle_reduction || DynareOptions.dr_logarithmi 'coefficient matrix for current variables isn''t invertible']) end end - if DynareOptions.gpu - gpuArray(A1); - gpuArray(B1); - gpuArray(C1); - end A1 = [aa(row_indx,index_m ) zeros(ndynamic,nfwrd)]; B1 = [aa(row_indx,index_0m) aa(row_indx,index_0p) ]; C1 = [zeros(ndynamic,npred) aa(row_indx,index_p)]; -- GitLab