petsc-3.6.1 2015-08-06
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()