From b23305dbe236555dd7937057cd8ffccf2e51643c Mon Sep 17 00:00:00 2001 From: gfilaci Date: Thu, 2 May 2019 11:08:21 +0100 Subject: [PATCH] fix M5D flop count --- Grid/qcd/action/fermion/CayleyFermion5Dcache.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Grid/qcd/action/fermion/CayleyFermion5Dcache.cc b/Grid/qcd/action/fermion/CayleyFermion5Dcache.cc index 8964582c..c84b7f8d 100644 --- a/Grid/qcd/action/fermion/CayleyFermion5Dcache.cc +++ b/Grid/qcd/action/fermion/CayleyFermion5Dcache.cc @@ -52,7 +52,8 @@ void CayleyFermion5D::M5D(const FermionField &psi_i, auto chi = chi_i.View(); int Ls =this->Ls; assert(phi.Checkerboard() == psi.Checkerboard()); - // Flops = 6.0*(Nc*Ns) *Ls*vol + // 10 = 3 complex mult + 2 complex add + // Flops = 10.0*(Nc*Ns) *Ls*vol (/2 for red black counting) M5Dcalls++; M5Dtime-=usecond();