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