VecHIPResetArray#

Resets a vector to use its default memory.

Synopsis#

#include <petscvec.h> 
PetscErrorCode VecHIPResetArray(Vec vin)

Not Collective; No Fortran Support

Input Parameters#

  • vec - the vector

Note#

Call this after the use of VecHIPPlaceArray().

See Also#

Vectors and Parallel Data, VecGetArray(), VecRestoreArray(), VecReplaceArray(), VecPlaceArray(), VecResetArray(), VecHIPPlaceArray(), VecHIPReplaceArray()

Level#

advanced

Location#

src/vec/vec/impls/seq/cupm/hip/vecseqcupm.hip.cpp


Edit on GitLab

Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages