#include "petscvec.h" PETSC_EXTERN PetscErrorCode VecScatterInitializeForGPU(VecScatter inctx,Vec x,ScatterMode mode)
|inctx||- scatter context generated by VecScatterCreate()|
|x||- the vector from which we scatter|
|mode||- the scattering mode, usually SCATTER_FORWARD. The available modes are: SCATTER_FORWARD or SCATTER_REVERSE|
This function is executed before the call to MatMult. This enables the memory transfers to be overlapped with the MatMult SpMV kernel call.
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages