From 9e489887cf40ea6d2616870e556b005b63a0868f Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 21 Dec 2023 15:24:48 -0500 Subject: [PATCH] General coarse multiRHS move to BLAS implementation --- tests/debug/Test_general_coarse.cc | 44 +++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/tests/debug/Test_general_coarse.cc b/tests/debug/Test_general_coarse.cc index 6a84b072..f4351cfc 100644 --- a/tests/debug/Test_general_coarse.cc +++ b/tests/debug/Test_general_coarse.cc @@ -33,9 +33,15 @@ Author: Peter Boyle #include #include +#include +#include + using namespace std; using namespace Grid; +gridblasHandle_t GridBLAS::gridblasHandle; +int GridBLAS::gridblasInit; + /////////////////////// // Tells little dirac op to use MdagM as the .Op() /////////////////////// @@ -107,7 +113,7 @@ int main (int argc, char ** argv) DomainWallFermionD Ddwf(Umu,*FGrid,*FrbGrid,*UGrid,*UrbGrid,mass,M5); - const int nbasis = 32; + const int nbasis = 62; const int cb = 0 ; LatticeFermion prom(FGrid); @@ -142,7 +148,6 @@ int main (int argc, char ** argv) HermOpAdaptor HOA(HermDefOp); - int pp=16; LittleDiracOp.CoarsenOperator(HOA,Aggregates); /////////////////////////////////////////////////// @@ -229,18 +234,20 @@ int main (int argc, char ** argv) std::cout<