From 8fd16686dcae1db1f314a7b50ddb2fed577e8cc2 Mon Sep 17 00:00:00 2001 From: Chulwoo Jung Date: Sun, 5 Sep 2021 23:04:41 -0400 Subject: [PATCH] Checking block lanczos deleted some diag outputs --- .../ImplicitlyRestartedBlockLanczos.h | 42 ++++++++--- Grid/allocator/MemoryManager.cc | 10 +-- tests/lanczos/Test_dwf_block_lanczos.README | 73 +++++++++++++++++++ 3 files changed, 108 insertions(+), 17 deletions(-) create mode 100644 tests/lanczos/Test_dwf_block_lanczos.README diff --git a/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h b/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h index 809d64d9..1b60f89f 100644 --- a/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h +++ b/Grid/algorithms/iterative/ImplicitlyRestartedBlockLanczos.h @@ -721,7 +721,7 @@ cudaStat = cudaMallocManaged((void **)&evec_acc, Nevec_acc*sites*12*sizeof(CUDA_ Eigen::MatrixXcd Q = Eigen::MatrixXcd::Zero(Nm,Nm); std::vector Iconv(Nm); - int Ntest=Nu; +// int Ntest=Nu; // std::vector B(Nm,grid); // waste of space replicating std::vector B(1,grid); // waste of space replicating @@ -731,7 +731,7 @@ cudaStat = cudaMallocManaged((void **)&evec_acc, Nevec_acc*sites*12*sizeof(CUDA_ Nconv = 0; - RealD beta_k; +// RealD beta_k; // set initial vector for (int i=0; i Btmp(Nconv,grid); // waste of space replicating + std::vector Btmp(Nstop,grid); // waste of space replicating +#if 0 for(int i=0; i