:orphan:
# VECHIP
VECHIP = "hip" - A `VECSEQHIP` on a single-process communicator, and `VECMPIHIP` otherwise. 
## Options Database Keys

- ***-vec_type hip -*** sets the vector type to `VECHIP` during a call to `VecSetFromOptions()`





## See Also
 `VecCreate()`, `VecSetType()`, `VecSetFromOptions()`, `VecCreateMPIWithArray()`, `VECSEQHIP`,
`VECMPIHIP`, `VECSTANDARD`, `VecType`, `VecCreateMPI()`, `VecSetPinnedMemoryMin()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/impls/mpi/cupm/hip/vecmpicupm.hip.cpp#VECHIP">src/vec/vec/impls/mpi/cupm/hip/vecmpicupm.hip.cpp</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/impls/mpi/cupm/hip/vecmpicupm.hip.cpp)


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