xref: /petsc/src/mat/impls/aij/mpi/mpicusparse/mpicusparsematimpl.h (revision ea9ee2c1d69c9e3cf6d2b3c8a205b9880d3dba39)
1 #ifndef PETSC_MPICUSPARSEMATIMPL_H
2 #define PETSC_MPICUSPARSEMATIMPL_H
3 
4 #include <cusparse_v2.h>
5 #include <petsc/private/veccupmimpl.h>
6 
7 struct Mat_MPIAIJCUSPARSE {
8   /* The following are used by GPU capabilities to store matrix storage formats on the device */
9   MatCUSPARSEStorageFormat diagGPUMatFormat    = MAT_CUSPARSE_CSR;
10   MatCUSPARSEStorageFormat offdiagGPUMatFormat = MAT_CUSPARSE_CSR;
11 };
12 #endif // PETSC_MPICUSPARSEMATIMPL_H
13