PETSc version 3.17.5
MatCreateSeqDenseCUDA
Creates a sequential matrix in dense format using CUDA.
Synopsis
#include "petscmat.h"
PetscErrorCode MatCreateSeqDenseCUDA(MPI_Comm comm,PetscInt m,PetscInt n,PetscScalar *data,Mat *A)
Collective
Input Parameters
| 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.
|
Output Parameter
Notes
See Also
MatCreate(), MatCreateSeqDense()
Level
intermediate
Location
src/mat/impls/dense/seq/cuda/densecuda.cu
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages