:orphan: # MATDENSECUDA "densecuda" - A matrix type to be used for dense matrices on GPUs. This matrix type is identical to `MATSEQDENSECUDA` when constructed with a single process communicator, and `MATMPIDENSECUDA` otherwise. ## Options Database Key - ***-mat_type densecuda -*** sets the matrix type to `MATDENSECUDA` during a call to `MatSetFromOptions()` ## See Also [](ch_matrices), `Mat`, `MATSEQDENSECUDA`, `MATMPIDENSECUDA`, `MATSEQDENSEHIP`, `MATMPIDENSEHIP`, `MATDENSE` ## Level beginner ## Location src/mat/impls/dense/mpi/cupm/cuda/matmpidensecuda.cu ## Examples src/ksp/ksp/tutorials/ex79.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/dense/mpi/cupm/cuda/matmpidensecuda.cu) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)