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