:orphan:
# VECCUDA
VECCUDA = "cuda" - A `VECSEQCUDA` on a single-process communicator, and `VECMPICUDA` otherwise. 
## Options Database Keys

- ***-vec_type cuda -*** sets the vector type to `VECCUDA` during a call to `VecSetFromOptions()`





## See Also
 `VecCreate()`, `VecSetType()`, `VecSetFromOptions()`, `VecCreateMPIWithArray()`, `VECSEQCUDA`,
`VECMPICUDA`, `VECSTANDARD`, `VecType`, `VecCreateMPI()`, `VecSetPinnedMemoryMin()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/impls/mpi/cupm/cuda/vecmpicupm.cu.html#VECCUDA">src/vec/vec/impls/mpi/cupm/cuda/vecmpicupm.cu</A>


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


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