[petsc-dev] Force synchronization of CUSP vector
Jose E. Roman
jroman at dsic.upv.es
Mon Feb 2 11:40:37 CST 2015
I would like to force the copy of a VECCUSP from/to the GPU. I need this in user code, in particular from within a shell matrix MatMult.
Both VecCUSPCopyToGPU() and VecCUSPCopyToGPU_Public() are declared PETSC_INTERN in a private header. The only public function is VecCUSPCopyToGPUSome_Public(). In the "From" variants, VecCUSPCopyFromGPU() is PETSC_EXTERN but declared in a private header.
Shouldn't these functions be public?
Jose
More information about the petsc-dev
mailing list