# MATDENSEHIP
MATDENSEHIP = "densehip" - A matrix type to be used for dense matrices on GPUs. This matrix type is identical to `MATSEQDENSEHIP` when constructed with a single process communicator,
and `MATMPIDENSEHIP` otherwise.


## Options Database Keys

- ***-mat_type densehip -*** sets the matrix type to `MATDENSEHIP` during a call to `MatSetFromOptions()`





## See Also
 `MATSEQDENSECUDA`, `MATMPIDENSECUDA`, `MATSEQDENSEHIP`, `MATMPIDENSEHIP`, `MATDENSE`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/dense/mpi/mpidense.c.html#MATDENSEHIP">src/mat/impls/dense/mpi/mpidense.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/dense/mpi/mpidense.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
