ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Functions
spblas_impl.h File Reference

Provides the ALP implementation of a subset of the de-facto SpBLAS standard for sparse linear algebra kernels. More...

Go to the source code of this file.

Functions

void alp_cspblas_dcsrgemv (const char *transa, const int *m, const double *a, const int *ia, const int *ja, const double *x, double *y)
 Performs sparse matrix–vector multiplication. More...
 
void alp_cspblas_dcsrmm (const char *transa, const int *m, const int *n, const int *k, const double *alpha, const char *matdescra, const double *val, const int *indx, const int *pntrb, const int *pntre, const double *b, const int *ldb, const double *beta, double *c, const int *ldc)
 Computes a variant of \( C \to \alpha AB+\beta C \). More...
 
void alp_cspblas_dcsrmultcsr (const char *trans, const int *request, const int *sort, const int *m, const int *n, const int *k, double *a, int *ja, int *ia, double *b, int *jb, int *ib, double *c, int *jc, int *ic, const int *nzmax, int *info)
 Computes \( C \to AB \) or \( C \to A^TB \), where all matrices are sparse and employ the Compressed Row Storage (CRS). More...
 
void alp_cspblas_ext_dcsrmultsv (const char *trans, const int *request, const int *m, const int *n, const double *a, const int *ja, const int *ia, const extblas_sparse_vector x, extblas_sparse_vector y)
 Performs sparse matrix–sparse vector multiplication. More...
 
void alp_cspblas_ext_free ()
 An extension that frees any buffers the ALP/GraphBLAS-generated SparseBLAS library may have allocated.
 

Detailed Description

Provides the ALP implementation of a subset of the de-facto SpBLAS standard for sparse linear algebra kernels.

On installation, the header file to include is </alp/install/dir/>include/transition/spblas.h.

The prefix of the SpBLAS primitives is configurable via the –spblas-prefix= option to the bootstrap.sh script. The default prefix is alp_cspblas_*.

Author
A. N. Yzelman
Date
2023