Actual source code: mpicusparsematimpl.h

  1: #pragma once

  3: #include <cusparse_v2.h>
  4: #include <petsc/private/veccupmimpl.h>

  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: };