From d49694f38f1b07676c4200892922c9a89bca99ad Mon Sep 17 00:00:00 2001 From: Raoul Hodgson Date: Tue, 6 Dec 2022 15:48:54 +0000 Subject: [PATCH] PropToFerm fix --- Grid/qcd/QCD.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/qcd/QCD.h b/Grid/qcd/QCD.h index 9c56c12c..39f45ada 100644 --- a/Grid/qcd/QCD.h +++ b/Grid/qcd/QCD.h @@ -484,8 +484,8 @@ template void PropToFerm(typename Fimpl::FermionField &f, const typename Fimpl::PropagatorField &p, const int s, const int c) { #ifdef FAST_FERM_TO_PROP - autoView(p_v,p,AcceleratorWrite); - autoView(f_v,f,AcceleratorRead); + autoView(p_v,p,AcceleratorRead); + autoView(f_v,f,AcceleratorWrite); accelerator_for(idx,p_v.oSites(),1,{ for(int ss = 0; ss < Ns; ++ss) { for(int cc = 0; cc < Fimpl::Dimension; ++cc) {