22 namespace LinOpSysSolverQUDAWilsonEnv
39 Handle<
FermState< LatticeFermion, multi1d<LatticeColorMatrix>, multi1d<LatticeColorMatrix> > >
state,
60 LinOpSysSolverQUDAWilson::qudaInvert(
const T& chi_s,
63 SystemSolverResults_t ret;
70 spinorIn =(
void *)&(chi_s.elem(rb[1].start()).elem(0).elem(0).real());
72 void* spinorOut =(
void *)&(psi_s.elem(rb[1].start()).elem(0).elem(0).real());
78 invertQuda(spinorOut, spinorIn, (QudaInvertParam*)&quda_inv_param);
83 QDPIO::cout <<
"QUDA_"<<solver_string<<
"_WILSON_SOLVER: time="<< quda_inv_param.secs <<
" s" ;
84 QDPIO::cout <<
"\tPerformance="<< quda_inv_param.gflops/quda_inv_param.secs<<
" GFLOPS" ;
85 QDPIO::cout <<
"\tTotal Time (incl. load gauge)=" << swatch1.getTimeInSeconds() <<
" s"<<std::endl;
87 ret.n_count =quda_inv_param.iter;
Support class for fermion actions and linear operators.
Class for counted reference semantics.
Class for counted reference semantics.
Wilson Dslash linear operator.
static bool registered
Local registration flag.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
LinOpSystemSolver< LatticeFermion > * createFerm(XMLReader &xml_in, const std::string &path, Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, Handle< LinearOperator< LatticeFermion > > A)
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Periodic ferm state and a creator.
Register linop system solvers that solve M*psi=chi.
Factory for solving M*psi=chi where M is not hermitian or pos. def.
Solve a MdagM*psi=chi linear system by BiCGStab.