#include "petscmat.h" PetscErrorCode MatCreateSeqDenseCUDA(MPI_Comm comm,PetscInt m,PetscInt n,PetscScalar *data,Mat *A)Collective
comm | - MPI communicator | |
m | - number of rows | |
n | - number of columns | |
data | - optional location of GPU matrix data. Set data=NULL for PETSc to control matrix memory allocation. |
A | - the matrix |