PaStiX Handbook  6.3.2
parsec_sparse_matrix.c File Reference
#include "common.h"
#include <parsec.h>
#include <parsec/data.h>
#include <parsec/data_distribution.h>
#include "blend/solver.h"
#include "pastix_parsec.h"

Go to the source code of this file.

Functions

static void spm_data_key_to_value (parsec_data_key_t key, const SolverMatrix *solvmtx, int *uplo, pastix_int_t *cblknum, pastix_int_t *bloknum)
 Compute the triplet (uplo, cblknum, bloknum) from the key. More...
 
static uint32_t parsec_sparse_matrix_data_key (parsec_data_collection_t *mat,...)
 Compute the unique key from the triplet (uplo, cblknum, bloknum). More...
 
static uint32_t parsec_sparse_matrix_rank_of (parsec_data_collection_t *mat,...)
 Return the rank of the owner of the piece of data (uplo, cblknum, bloknum). More...
 
static uint32_t parsec_sparse_matrix_rank_of_key (parsec_data_collection_t *mat, parsec_data_key_t key)
 Return the rank of the owner of the piece of data (key) More...
 
static int32_t parsec_sparse_matrix_vpid_of (parsec_data_collection_t *mat,...)
 Return the rank of the virtual process owner of the piece of data (uplo, cblknum, bloknum). More...
 
static int32_t parsec_sparse_matrix_vpid_of_key (parsec_data_collection_t *mat, parsec_data_key_t key)
 Return the rank of the virtual process owner of the piece of data (key) More...
 
static parsec_data_t * parsec_sparse_matrix_data_of (parsec_data_collection_t *mat,...)
 Return the data handler associated to the piece of data (uplo, cblknum, bloknum). More...
 
static parsec_data_t * parsec_sparse_matrix_data_of_key (parsec_data_collection_t *mat, parsec_data_key_t key)
 Return the data handler associated to the piece of data (key). More...
 
static void pastix_parsec_register_cblk_lr (parsec_data_collection_t *o, parsec_data_t **handler, pastix_int_t id, const SolverCblk *cblk, int side)
 TODO. More...
 
static void pastix_parsec_register_cblk_fr (parsec_data_collection_t *o, parsec_data_t **handler, pastix_int_t id, const parsec_sparse_matrix_desc_t *spmtx, const SolverCblk *cblk, int side)
 TODO. More...
 
static void pastix_parsec_register_cblk (parsec_data_collection_t *o, pastix_int_t cblknum, const parsec_sparse_matrix_desc_t *spmtx, const SolverCblk *cblk)
 TODO. More...
 
PaRSEC sparse matrix descriptor
void parsec_sparse_matrix_init (SolverMatrix *solvmtx, int typesize, pastix_mtxtype_t mtxtype, int nodes, int myrank)
 Generate the PaRSEC descriptor of the sparse matrix. More...
 
void parsec_sparse_matrix_destroy (parsec_sparse_matrix_desc_t *spmtx)
 Free the PaRSEC descriptor of the sparse matrix. More...
 

Detailed Description

PaStiX sparse matrix descriptor for parsec.

Version
6.3.2
Author
Mathieu Faverge
Pierre Ramet
Date
2023-07-21

Definition in file parsec_sparse_matrix.c.