xref: /petsc/src/mat/impls/aij/mpi/mpicusparse/mpicusparsematimpl.h (revision a496304597bacff3545e802853d69e8765312868)
1*a4963045SJacob Faibussowitsch #pragma once
2bbf3fe20SPaul Mullowney 
3b06137fdSPaul Mullowney #include <cusparse_v2.h>
46d54fb17SJacob Faibussowitsch #include <petsc/private/veccupmimpl.h>
5b06137fdSPaul Mullowney 
6219fbbafSJunchao Zhang struct Mat_MPIAIJCUSPARSE {
7bbf3fe20SPaul Mullowney   /* The following are used by GPU capabilities to store matrix storage formats on the device */
82c4ab24aSJunchao Zhang   MatCUSPARSEStorageFormat diagGPUMatFormat    = MAT_CUSPARSE_CSR;
92c4ab24aSJunchao Zhang   MatCUSPARSEStorageFormat offdiagGPUMatFormat = MAT_CUSPARSE_CSR;
10219fbbafSJunchao Zhang };
11