petsc-3.5.4 2015-05-23
Report Typos and Errors

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 in MatMult_MPIAIJCUSP (in mpi/mpicusp/mpiaijcusp.cu) or MatMult_MPIAIJCUSPARSE (in mpi/mpicusparse/mpiaijcusparse.cu). Once the MatMultAdd is finished, the GPU temporary buffers used for messaging are no longer valid.

Synopsis

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

Input Parameters

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

inctx - scatter context generated by VecScatterCreate()