petsc-3.14.6 2021-03-30
VecScatterFinalizeForGPU
Finalizes a generalized scatter from one vector to another for GPU based computation.
Synopsis
#include "petscvec.h"
PETSC_EXTERN PetscErrorCode VecScatterFinalizeForGPU(VecScatter inctx)
Input Parameter
Notes
Effectively, this function resets the temporary buffer flags. Currently, this
only used in the context of the parallel SpMV call in in MatMult_MPIAIJCUSPARSE
Once the MatMultAdd is finished, the GPU temporary buffers used for messaging are no longer valid.
See Also
VecScatterInitializeForGPU(), VecScatterCreate(), VecScatterEnd()
Level
intermediate
Location
src/vec/vscat/interface/vscatfce.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages