From 5b128a6f9f21c7f9309b9c7f019ff28d42b8df49 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 23 Sep 2022 16:18:47 -0400 Subject: [PATCH] MixedPrec Multishift with better precision scheme for GPU --- .../ConjugateGradientMultiShiftMixedPrec.h | 52 +++++++------------ 1 file changed, 20 insertions(+), 32 deletions(-) diff --git a/Grid/algorithms/iterative/ConjugateGradientMultiShiftMixedPrec.h b/Grid/algorithms/iterative/ConjugateGradientMultiShiftMixedPrec.h index b1d90688..8a88cb07 100644 --- a/Grid/algorithms/iterative/ConjugateGradientMultiShiftMixedPrec.h +++ b/Grid/algorithms/iterative/ConjugateGradientMultiShiftMixedPrec.h @@ -164,12 +164,8 @@ public: RealD cp,bp,qq; //prev // Matrix mult fields - FieldF r_f(SinglePrecGrid); FieldF p_f(SinglePrecGrid); - FieldF tmp_f(SinglePrecGrid); FieldF mmp_f(SinglePrecGrid); - FieldF src_f(SinglePrecGrid); - precisionChange(src_f, src_d); // Check lightest mass for(int s=0;s