CHROMA
Classes | Functions
Chroma::QUDAMGUtils Namespace Reference

Classes

struct  MGSubspacePointers
 

Functions

template<typename T >
MGSubspacePointerscreate_subspace (const SysSolverQUDAMULTIGRIDCloverParams &invParam)
 
void delete_subspace (const std::string SubspaceID)
 
size_t getCUDAFreeMem (void)
 

Function Documentation

◆ create_subspace()

template<typename T >
MGSubspacePointers* Chroma::QUDAMGUtils::create_subspace ( const SysSolverQUDAMULTIGRIDCloverParams invParam)

Definition at line 37 of file quda_mg_utils.h.

References Chroma::MULTIGRIDSolverParams::blocking, Chroma::CA_GCR, Chroma::MULTIGRIDSolverParams::check_multigrid_setup, Chroma::MULTIGRIDSolverParams::coarseSolverType, Chroma::SysSolverQUDAMULTIGRIDCloverParams::cudaPrecision, Chroma::SysSolverQUDAMULTIGRIDCloverParams::cudaSloppyPrecision, Chroma::MULTIGRIDSolverParams::cycle_type, Chroma::DEFAULT, Chroma::DOUBLE, Chroma::GCR, Chroma::MULTIGRIDSolverParams::generate_all_levels, Chroma::MULTIGRIDSolverParams::generate_nullspace, Chroma::HALF, Chroma::i, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), j, l, Chroma::MULTIGRIDSolverParams::maxIterations, Chroma::MULTIGRIDSolverParams::maxIterSubspaceCreate, Chroma::MULTIGRIDSolverParams::maxIterSubspaceRefresh, Chroma::QUDAMGUtils::MGSubspacePointers::mg_inv_param, Chroma::MULTIGRIDSolverParams::mg_levels, Chroma::QUDAMGUtils::MGSubspacePointers::mg_param, Chroma::MR, Chroma::SysSolverQUDAMULTIGRIDCloverParams::MULTIGRIDParams, Chroma::SysSolverQUDAMULTIGRIDCloverParams::MULTIGRIDParamsP, Nd, Chroma::MULTIGRIDSolverParams::nu_post, Chroma::MULTIGRIDSolverParams::nu_pre, Chroma::MULTIGRIDSolverParams::nvec, Chroma::MULTIGRIDSolverParams::prec, Chroma::MULTIGRIDSolverParams::precond_gcr_nkrylov, Chroma::QUDAMGUtils::MGSubspacePointers::preconditioner, Chroma::QUARTER, Chroma::MULTIGRIDSolverParams::relaxationOmegaMG, Chroma::MULTIGRIDSolverParams::rsdTargetSubspaceCreate, Chroma::s(), Chroma::MULTIGRIDSolverParams::setup_on_gpu, Chroma::SINGLE, Chroma::MULTIGRIDSolverParams::smootherHaloPrecision, Chroma::MULTIGRIDSolverParams::smootherSchwarzCycle, Chroma::MULTIGRIDSolverParams::smootherSchwarzType, Chroma::MULTIGRIDSolverParams::smootherTol, Chroma::MULTIGRIDSolverParams::smootherType, Chroma::MULTIGRIDSolverParams::subspaceSolver, Chroma::MULTIGRIDSolverParams::tol, Chroma::SysSolverQUDAMULTIGRIDCloverParams::tuneDslashP, and Chroma::MULTIGRIDSolverParams::verbosity.

Referenced by Chroma::LinOpSysSolverQOPMG::getSubspace().

◆ delete_subspace()

void Chroma::QUDAMGUtils::delete_subspace ( const std::string  SubspaceID)
inline

◆ getCUDAFreeMem()

size_t Chroma::QUDAMGUtils::getCUDAFreeMem ( void  )
inline

Definition at line 452 of file quda_mg_utils.h.