![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
#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"
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>() |
void ghost_carp_destroy | ( | ghost_carp_opts * | opts | ) |
Destroy(Finalize) CARP.
opts | CARP options |
ghost_error ghost_carp_init | ( | ghost_sparsemat * | mat, |
ghost_densemat * | b, | ||
ghost_carp_opts * | opts | ||
) |
Initialize CARP.
[in] | mat | The sparsematrix |
[in] | b | The rhs |
opts | CARP Options. |
|
static |
ghost_error ghost_carp_perf_init | ( | ghost_sparsemat * | mat, |
ghost_carp_opts * | opts | ||
) |
Finds optimum parameters for CARP.
[in] | mat | The sparsematrix |
opts | Options. |
|
static |
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.
x | Output densemat. |
mat | The matrix. |
b | Input densemat. |
opts | Options. |
|
static |
|
static |