petsc-3.3-p7 2013-05-11

VecScatterFinalizeForGPU

Finalizes a generalized scatter from one vector to another for GPU based computation. Effectively, this function resets the temporary buffer flags. Currently, this only used in the context of the parallel SpMV call in MatMult_MPIAIJCUSP (in mpi/mpicusp/mpiaijcusp.cu). Once the MatMultAdd is finished, the GPU temporary buffers used for messaging are no longer valid.

Synopsis

#include "petscis.h" 
#include "petscvec.h" 
PetscErrorCode  VecScatterFinalizeForGPU(VecScatter inctx)

Input Parameters

Level:intermediate
Location:
src/vec/vec/utils/veccuspvscatcusp.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages

inctx - scatter context generated by VecScatterCreate()