MatHIPSPARSEStorageFormat#
indicates the storage format for HIPSPARSE (GPU) matrices.
Synopsis#
typedef enum {
MAT_HIPSPARSE_CSR,
MAT_HIPSPARSE_ELL,
MAT_HIPSPARSE_HYB
} MatHIPSPARSEStorageFormat;
Not Collective
MAT_HIPSPARSE_CSR - Compressed Sparse Row
MAT_HIPSPARSE_ELL - Ellpack
MAT_HIPSPARSE_HYB - Hybrid, a combination of Ellpack and Coordinate format (requires CUDA 4.2 or later).
Any additions/changes here MUST also be made in include/petsc/finclude/petscmat.h
See Also#
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages