1687625d7SJacob Faibussowitsch #ifndef PETSC_MPICUSPARSEMATIMPL_H 2687625d7SJacob Faibussowitsch #define PETSC_MPICUSPARSEMATIMPL_H 3bbf3fe20SPaul Mullowney 4b06137fdSPaul Mullowney #include <cusparse_v2.h> 56d54fb17SJacob Faibussowitsch #include <petsc/private/veccupmimpl.h> 6b06137fdSPaul Mullowney 7219fbbafSJunchao Zhang struct Mat_MPIAIJCUSPARSE { 8bbf3fe20SPaul Mullowney /* The following are used by GPU capabilities to store matrix storage formats on the device */ 9*2c4ab24aSJunchao Zhang MatCUSPARSEStorageFormat diagGPUMatFormat = MAT_CUSPARSE_CSR; 10*2c4ab24aSJunchao Zhang MatCUSPARSEStorageFormat offdiagGPUMatFormat = MAT_CUSPARSE_CSR; 11219fbbafSJunchao Zhang }; 12687625d7SJacob Faibussowitsch #endif // PETSC_MPICUSPARSEMATIMPL_H 13