VecHIPResetArray#

Resets a vector to use its default memory. Call this after the use of VecHIPPlaceArray().

Synopsis#

#include "petscvec.h"   
PetscErrorCode VecHIPResetArray(Vec vin)

Not Collective; No Fortran Support

Input Parameters#

  • vec - the vector

See Also#

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

Level#

developer

Location#

src/vec/vec/interface/rvector.c


Edit on GitLab

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