From aefd255a3c823805d0db064f61e738e33da861a9 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 30 Apr 2024 05:20:41 -0400 Subject: [PATCH] Verbose --- .../GeneralCoarsenedMatrixMultiRHS.h | 60 ++++++++++--------- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h index 30bb7029..98f4b22c 100644 --- a/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h +++ b/Grid/algorithms/multigrid/GeneralCoarsenedMatrixMultiRHS.h @@ -532,43 +532,49 @@ Grid : Message : 328.193436 s : CoarsenOperator mat 122213270 us _A.resize(geom_srhs.npoint,CoarseGrid); // Count use small chunks than npoint == 81 and save memory - std::vector _MphaV; - _MphaV.resize(npoint,grid); + int batch = 9; + std::vector _MphaV(batch,grid); + std::vector TmpProj(batch,CoarseGrid); std::vector ComputeProj(npoint,CoarseGrid); CoarseVector FT(CoarseGrid); for(int i=0;i