:orphan: # VecCUDAResetArray Resets a vector to use its default memory. ## Synopsis ``` #include PetscErrorCode VecCUDAResetArray(Vec vin) ``` Not Collective; No Fortran Support ## Input Parameters - ***vec -*** the vector ## Note Call this after the use of `VecCUDAPlaceArray()`. ## See Also [](ch_vectors), `VecGetArray()`, `VecRestoreArray()`, `VecReplaceArray()`, `VecPlaceArray()`, `VecResetArray()`, `VecCUDAPlaceArray()`, `VecCUDAReplaceArray()` ## Level advanced ## Location src/vec/vec/impls/seq/cupm/cuda/vecseqcupm.cu --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/vec/impls/seq/cupm/cuda/vecseqcupm.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)