petsc-3.14.6 2021-03-30
VecCUDAResetArray
Resets a vector to use its default memory. Call this after the use of VecCUDAPlaceArray().
Synopsis
#include "petscvec.h"
PetscErrorCode VecCUDAResetArray(Vec vin)
Not Collective
Input Parameters
See Also
VecGetArray(), VecRestoreArray(), VecReplaceArray(), VecPlaceArray(), VecResetArray(), VecCUDAPlaceArray(), VecCUDAReplaceArray()
Level
developer
Location
src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages