GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Namespaces | Functions | Variables
sell_kacz.cpp File Reference
#include "ghost/types.h"
#include "ghost/locality.h"
#include "ghost/util.h"
#include "ghost/timing.h"
#include "ghost/machine.h"
#include "ghost/sparsemat.h"
#include "ghost/math.h"
#include "ghost/sell_kacz_mc_gen.h"
#include "ghost/sell_kacz_bmc_cm_gen.h"
#include "ghost/sell_kacz_bmc_rm_gen.h"
#include "ghost/sell_kacz_bmc_normal_gen.h"
#include "ghost/sell_kacz_bmc_shift_gen.h"
#include "ghost/sell_kacz_fallback.h"
#include "ghost/compatibility_check.h"
#include "ghost/autogen.h"
#include "ghost/cpp11_fixes.h"
#include <complex>
#include <unordered_map>
#include <vector>
#include "sell_kacz_bmc_cm.def"
#include "sell_kacz_bmc_rm.def"
#include "sell_kacz_bmc_normal.def"
#include "sell_kacz_bmc_shift.def"
#include "sell_kacz_mc.def"
Include dependency graph for sell_kacz.cpp:

Classes

struct  std::hash< ghost_kacz_parameters >
 

Namespaces

 std
 

Functions

template<typename m_t >
static ghost_error ghost_carp_init_tmpl (ghost_sparsemat *mat, ghost_densemat *rhs, ghost_carp_opts *opts)
 
ghost_error ghost_carp_init (ghost_sparsemat *mat, ghost_densemat *rhs, ghost_carp_opts *opts)
 Initialize CARP. More...
 
void ghost_carp_destroy (ghost_carp_opts *opts)
 Destroy(Finalize) CARP. More...
 
template<typename m_t >
static ghost_error ghost_carp_perf_init_tmpl (ghost_sparsemat *mat, ghost_carp_opts *opts)
 
ghost_error ghost_carp_perf_init (ghost_sparsemat *mat, ghost_carp_opts *opts)
 Finds optimum parameters for CARP. More...
 
static bool operator== (const ghost_kacz_parameters &a, const ghost_kacz_parameters &b)
 
ghost_error ghost_kacz (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *rhs, ghost_kacz_opts opts)
 Perform a Kaczmarz sweep with the SELL matrix. More...
 

Variables

static std::unordered_map
< ghost_kacz_parameters,
ghost_kacz_kernel
ghost_kacz_kernels = std::unordered_map<ghost_kacz_parameters,ghost_kacz_kernel>()
 

Function Documentation

void ghost_carp_destroy ( ghost_carp_opts opts)

Destroy(Finalize) CARP.

Parameters
optsCARP options
ghost_error ghost_carp_init ( ghost_sparsemat mat,
ghost_densemat b,
ghost_carp_opts opts 
)

Initialize CARP.

Parameters
[in]matThe sparsematrix
[in]bThe rhs
optsCARP Options.

Here is the call graph for this function:

template<typename m_t >
static ghost_error ghost_carp_init_tmpl ( ghost_sparsemat mat,
ghost_densemat rhs,
ghost_carp_opts opts 
)
static

Here is the call graph for this function:

ghost_error ghost_carp_perf_init ( ghost_sparsemat mat,
ghost_carp_opts opts 
)

Finds optimum parameters for CARP.

Parameters
[in]matThe sparsematrix
optsOptions.

Here is the call graph for this function:

template<typename m_t >
static ghost_error ghost_carp_perf_init_tmpl ( ghost_sparsemat mat,
ghost_carp_opts opts 
)
static

Here is the call graph for this function:

ghost_error ghost_kacz ( ghost_densemat x,
ghost_sparsemat mat,
ghost_densemat b,
ghost_kacz_opts  opts 
)

Perform a Kaczmarz sweep with the SELL matrix.

Parameters
xOutput densemat.
matThe matrix.
bInput densemat.
optsOptions.
Returns
GHOST_SUCCESS on success or an error indicator.

Here is the call graph for this function:

static bool operator== ( const ghost_kacz_parameters a,
const ghost_kacz_parameters b 
)
static

Variable Documentation

std::unordered_map<ghost_kacz_parameters, ghost_kacz_kernel> ghost_kacz_kernels = std::unordered_map<ghost_kacz_parameters,ghost_kacz_kernel>()
static