diff --git a/Grid/algorithms/GeneralCoarsenedMatrix.h b/Grid/algorithms/GeneralCoarsenedMatrix.h index 90074e09..9e7fa3b2 100644 --- a/Grid/algorithms/GeneralCoarsenedMatrix.h +++ b/Grid/algorithms/GeneralCoarsenedMatrix.h @@ -298,10 +298,10 @@ public: const int Nsimd = CComplex::Nsimd(); int osites=pin.Grid()->oSites(); - int gsites=pin.Grid()->gSites(); + // int gsites=pin.Grid()->gSites(); - RealD flops = 1.0* npoint * nbasis * nbasis * 8 * gsites; - RealD bytes = (1.0*osites*sizeof(siteMatrix)+2.0*osites*sizeof(siteVector))*npoint; + RealD flops = 1.0* npoint * nbasis * nbasis * 8 * osites; + RealD bytes = (1.0*osites*sizeof(siteMatrix)*npoint+2.0*osites*sizeof(siteVector))*npoint; // for(int point=0;pointgSites() ;bidx++){ + for(int64_t bidx=0;bidxgSites() ;bidx++){ Coordinate bcoor; CoarseGrid()->GlobalIndexToGlobalCoor(bidx,bcoor); @@ -540,9 +540,11 @@ public: auto sval = peekSite(_A[p],coor); } - PopulateAdag(); + std::cout << GridLogMessage<<"PopulateAdag "<