:orphan:
# MATMPIDENSECUDA
"mpidensecuda" - A matrix type to be used for distributed dense matrices on GPUs. 
## Options Database Key

- ***-mat_type mpidensecuda -*** sets the matrix type to `MATMPIDENSECUDA` during a call to
`MatSetFromOptions()`





## See Also
 [](ch_matrices), `Mat`, `MATDENSECUDA`, `MATMPIDENSE`, `MATSEQDENSE`,
`MATSEQDENSECUDA`, `MATSEQDENSEHIP`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/dense/mpi/cupm/cuda/matmpidensecuda.cu.html#MATMPIDENSECUDA">src/mat/impls/dense/mpi/cupm/cuda/matmpidensecuda.cu</A>


---
[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)  
