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