|
ghost_error | ghost_sparsemat_create (ghost_sparsemat **mat, ghost_context *ctx, ghost_sparsemat_traits *traits, int nTraits) |
| Create a sparse matrix. More...
|
|
ghost_error | ghost_sparsemat_info_string (char **str, ghost_sparsemat *matrix) |
| Create a string holding information about the sparsemat. More...
|
|
ghost_error | ghost_sparsemat_nnz (ghost_gidx *nnz, ghost_sparsemat *mat) |
| Obtain the global number of nonzero elements of a sparse matrix. More...
|
|
ghost_error | ghost_sparsemat_nrows (ghost_gidx *nrows, ghost_sparsemat *mat) |
| Obtain the global number of rows of a sparse matrix. More...
|
|
const char * | ghost_sparsemat_symmetry_string (ghost_sparsemat_symmetry symmetry) |
| Convert the matrix' symmetry information to a string. More...
|
|
bool | ghost_sparsemat_symmetry_valid (ghost_sparsemat_symmetry symmetry) |
| Check if the symmetry information of a sparse matrix is valid. More...
|
|
ghost_error | ghost_sparsemat_perm_scotch (ghost_context *ctx, ghost_sparsemat *mat) |
| Create a matrix permutation based on (PT-)SCOTCH. More...
|
|
ghost_error | ghost_sparsemat_perm_sort (ghost_context *ctx, ghost_sparsemat *mat, ghost_lidx scope) |
| Create a matrix permutation based on row length sorting within a given scope. More...
|
|
ghost_error | ghost_sparsemat_perm_spmp (ghost_context *ctx, ghost_sparsemat *mat) |
|
ghost_error | ghost_sparsemat_perm_color (ghost_context *ctx, ghost_sparsemat *mat) |
| Create a matrix permutation based on 2-way coloring using ColPack. More...
|
|
ghost_error | ghost_sparsemat_blockColor (ghost_context *ctx, ghost_sparsemat *mat) |
|
ghost_error | ghost_sparsemat_perm_zoltan (ghost_context *ctx, ghost_sparsemat *mat) |
|
ghost_error | ghost_sparsemat_fromfile_common (ghost_sparsemat *mat, char *matrixPath, ghost_lidx **rpt) |
| Common function for matrix creation from a file. More...
|
|
ghost_error | ghost_sparsematofile_header (ghost_sparsemat *mat, char *path) |
| Write the sparse matrix header to a binary CRS file. More...
|
|
ghost_error | ghost_sparsemat_registerrow (ghost_sparsemat *mat, ghost_gidx row, ghost_gidx *col, ghost_lidx rowlen, ghost_lidx stride) |
| Store matrix information like bandwidth and nonzero distribution for a given matrix row. More...
|
|
ghost_error | ghost_sparsemat_registerrow_finalize (ghost_sparsemat *mat) |
| Finalize the storing of matrix information like bandwidth and nonzero distribution. More...
|
|
void | ghost_sparsemat_destroy (ghost_sparsemat *mat) |
| Destroy a sparsemat and free all memory. More...
|
|
ghost_error | ghost_sell_spmv_selector (ghost_densemat *lhs, ghost_sparsemat *mat, ghost_densemat *rhs, ghost_spmv_opts traits) |
| Select and call the right SELL SpMV kernel. More...
|
|
ghost_error | ghost_cu_sell_spmv_selector (ghost_densemat *lhs, ghost_sparsemat *mat, ghost_densemat *rhs, ghost_spmv_opts traits) |
| Select and call the right CUDA SELL SpMV kernel. More...
|
|
ghost_error | ghost_sell_stringify_selector (ghost_sparsemat *mat, char **str, int dense) |
| Select and call the right SELL stringification function. More...
|
|
ghost_error | ghost_sparsemat_string (char **str, ghost_sparsemat *mat, int dense) |
| Creates a string of the sparsemat's contents. More...
|
|
ghost_error | ghost_sparsemat_init_rowfunc (ghost_sparsemat *mat, ghost_sparsemat_src_rowfunc *src, ghost_mpi_comm mpicomm, double weight) |
| Initializes a sparsemat from a row-based callback function. More...
|
|
ghost_error | ghost_sparsemat_init_bin (ghost_sparsemat *mat, char *path, ghost_mpi_comm mpicomm, double weight) |
| Initializes a sparsemat from a binary CRS file. More...
|
|
ghost_error | ghost_sparsemat_init_mm (ghost_sparsemat *mat, char *path, ghost_mpi_comm mpicomm, double weight) |
| Initializes a sparsemat from a Matrix Market file. More...
|
|
ghost_error | ghost_sparsemat_init_crs (ghost_sparsemat *mat, ghost_gidx offs, ghost_lidx n, ghost_gidx *col, void *val, ghost_lidx *rpt, ghost_mpi_comm mpicomm, double weight) |
| Initializes a sparsemat from local CRS data. More...
|
|
ghost_error | ghost_sparsemat_to_bin (ghost_sparsemat *mat, char *path) |
| Write a matrix to a binary CRS file. More...
|
|
size_t | ghost_sparsemat_bytesize (ghost_sparsemat *mat) |
| Get the entire memory footprint of the matrix. More...
|
|
ghost_error | ghost_cu_sell1_spmv_selector (ghost_densemat *lhs_in, ghost_sparsemat *mat, ghost_densemat *rhs_in, ghost_spmv_opts traits) |
|
ghost_error | ghost_sell_kacz_selector (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *b, ghost_kacz_opts opts) |
| Select and call the right SELL KACZ kernel. More...
|
|
ghost_error | ghost_sell_kacz_shift_selector (ghost_densemat *x_real, ghost_densemat *x_imag, ghost_sparsemat *mat, ghost_densemat *b, double sigma_r, double sigma_i, ghost_kacz_opts opts) |
| Select and call the right SELL KACZ kernel with complex shifts. More...
|
|
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. More...
|
|
ghost_error | ghost_kacz_mc (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *b, ghost_kacz_opts opts) |
|
ghost_error | ghost_kacz_rb (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *b, ghost_kacz_opts opts) |
|
ghost_error | ghost_kacz_bmc (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *b, ghost_kacz_opts opts) |
|
ghost_error | ghost_kacz_rb_with_shift (ghost_densemat *x, ghost_sparsemat *mat, ghost_densemat *b, double *shift_r, ghost_kacz_opts opts) |
|
ghost_error | ghost_carp (ghost_sparsemat *mat, ghost_densemat *x, ghost_densemat *b, ghost_carp_opts opts) |
|
ghost_error | checker (ghost_sparsemat *mat) |
|
ghost_error | split_transition (ghost_sparsemat *mat) |
|
ghost_error | ghost_carp_init (ghost_sparsemat *mat, ghost_densemat *b, ghost_carp_opts *opts) |
| Initialize CARP. More...
|
|
ghost_error | ghost_carp_perf_init (ghost_sparsemat *mat, ghost_carp_opts *opts) |
| Finds optimum parameters for CARP. More...
|
|
void | ghost_carp_destroy (ghost_carp_opts *opts) |
| Destroy(Finalize) CARP. More...
|
|
ghost_error | kacz_analyze_print (ghost_sparsemat *mat) |
| Prints the row distribution details of KACZ. More...
|
|
ghost_error | ghost_sparsemat_to_mm (char *path, ghost_sparsemat *mat) |
|
ghost_error | ghost_context_comm_init (ghost_context *ctx, ghost_gidx *col_orig, ghost_sparsemat *mat, ghost_lidx *col, ghost_lidx *nhalo) |
| Assemble communication information in the given context. More...
|
|
ghost_error | ghost_sparsemat_perm_global_cols (ghost_gidx *cols, ghost_lidx ncols, ghost_context *context) |
|
static int | ghost_sparsemat_rowfunc_crs (ghost_gidx row, ghost_lidx *rowlen, ghost_gidx *col, void *val, void *crsdata) |
|
ghost_error | calculate_bw (ghost_sparsemat *mat, void *matrixSource, ghost_sparsemat_src srcType) |
|
ghost_error | set_kacz_ratio (ghost_sparsemat *mat, void *matrixSource, ghost_sparsemat_src srcType) |
|
Types and functions related to sparse matrices.
- Author
- Moritz Kreutzer morit.nosp@m.z.kr.nosp@m.eutze.nosp@m.r@fa.nosp@m.u.de