From f0358ba048dbb7d77546326dbde745c8ab809f72 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 29 Jun 2019 11:24:39 +0200 Subject: egs: reduce the max number of BiCGSTAB iterations to 4 Since we typically do many multigrid iterations per step, being more aggressive about a full inverse gives better performance. --- ell_grid_solve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ell_grid_solve.c b/ell_grid_solve.c index c3ce3a7..fd6e455 100644 --- a/ell_grid_solve.c +++ b/ell_grid_solve.c @@ -481,7 +481,7 @@ static int exact_arrays_alloc(EGSContext *ctx) goto fail; } - ret = mg2di_bicgstab_context_alloc(&e->bicgstab, e->N, 64); + ret = mg2di_bicgstab_context_alloc(&e->bicgstab, e->N, 4); if (ret < 0) goto fail; -- cgit v1.2.3