diff --git a/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h b/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h index 5e448711..9b9b71cb 100644 --- a/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h +++ b/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h @@ -146,11 +146,12 @@ public: const int Nsimd = CComplex::Nsimd(); - int osites=pin.Grid()->oSites(); + int64_t osites=pin.Grid()->oSites(); // int gsites=pin.Grid()->gSites(); - RealD flops = 1.0* npoint * nbasis * nbasis * 8 * osites; - RealD bytes = (1.0*osites*sizeof(siteMatrix)*npoint+2.0*osites*sizeof(siteVector))*npoint; + RealD flops = 1.0* npoint * nbasis * nbasis * 8.0 * osites * CComplex::Nsimd(); + RealD bytes = 1.0*osites*sizeof(siteMatrix)*npoint + + 2.0*osites*sizeof(siteVector)*npoint; // for(int point=0;point_offset],SE->_permute,Nd); auto res = out_v(ss)(b); for(int bb=0;bb